Skip to content

Commit

Permalink
always assign animation assets to anim component (#6863)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpal81xd committed Aug 5, 2024
1 parent 05bdcae commit 9147ef5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/framework/components/anim/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ class AnimComponentSystem extends ComponentSystem {
});
});
});
} else if (data.animationAssets) {
}
if (data.animationAssets) {
component.animationAssets = Object.assign(component.animationAssets, data.animationAssets);
}

Expand Down

0 comments on commit 9147ef5

Please sign in to comment.