Skip to content

Commit

Permalink
Fix SceneModel.createTransform() parentTransformId
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Apr 19, 2024
1 parent 24153ac commit b1b3a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viewer/scene/model/SceneModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2669,7 +2669,7 @@ export class SceneModel extends Component {
return;
}
let parentTransform;
if (this.parentTransformId) {
if (cfg.parentTransformId) {
parentTransform = this._transforms[cfg.parentTransformId];
if (!parentTransform) {
this.error("[createTransform] SceneModel.createTransform() config missing: id");
Expand Down

0 comments on commit b1b3a2c

Please sign in to comment.