fix setUseBakedAnimation operation bug for v3.5.1 (#11267)

This commit is contained in:
troublemaker52025
2022-05-31 11:04:36 +08:00
committed by GitHub
parent 8a9d0d9434
commit cdcbdcdad9
@@ -137,6 +137,7 @@ export class SkinnedMeshRenderer extends MeshRenderer {
this._models.length = 0;
this._updateModels();
this._updateCastShadow();
this._updateReceiveShadow();
if (this.enabledInHierarchy) {
this._attachToScene();
}