Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Dec 18, 2024
1 parent ef60c1f commit 06160e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BasicBehaveEngine/decorators/BabylonDecorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ export class BabylonDecorator extends ADecorator {
this.registerJsonPointer(`/nodes/${maxGltfNode}/mesh`, (path) => {
const parts: string[] = path.split("/");
const node = this.world.glTFNodes[Number(parts[2])];
return this.world.meshes.indexOf(node.subMeshes[0].mesh);
return this.world.meshes.indexOf(node);
}, (path, value) => {
//no-op
}, "int", true);
Expand Down

0 comments on commit 06160e3

Please sign in to comment.