Skip to content

Commit

Permalink
pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksims committed Dec 19, 2024
1 parent dbfcf30 commit 21ff4c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/framework/components/render/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,7 @@ class RenderComponent extends Component {
this._rootBone = value;
} else if (isString) {
this._rootBone = this.system.app.getEntityFromIndex(value) || null;
Debug.assert(this._rootBone, 'Failed to find rootBone Entity by GUID');
} else {
this._rootBone = null;
}
Expand Down

0 comments on commit 21ff4c4

Please sign in to comment.