From 71cf53db56343e59e64d837db5767a17d76d4cf8 Mon Sep 17 00:00:00 2001 From: Alexander Goryushkin Date: Tue, 5 Dec 2023 16:26:34 -0300 Subject: [PATCH] remove shadow component from saved JSON --- src/json-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json-utils.js b/src/json-utils.js index db3cab49b..3ab75cf2b 100644 --- a/src/json-utils.js +++ b/src/json-utils.js @@ -298,7 +298,7 @@ function getModifiedProperty(entity, componentName) { entity ); - const mixinSkipProps = ['src', 'atlas-uvs', 'gltf-model', 'gltf-part']; + const mixinSkipProps = ['src', 'atlas-uvs', 'gltf-model', 'gltf-part', 'shadow']; if (mixinsData && mixinSkipProps.includes(mixinCompName)) { // skip properties, if they exists in element's mixin return null;