Skip to content

Commit

Permalink
Merge pull request #428 from 3DStreet/remove-shadow-from-json
Browse files Browse the repository at this point in the history
remove shadow component from saved JSON
  • Loading branch information
kfarr authored Dec 6, 2023
2 parents 0a75509 + 71cf53d commit 526db89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 526db89

Please sign in to comment.