Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
culdo committed Dec 25, 2024
1 parent 4b0c1b1 commit 5f9a3ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/modules/MMDAnimationHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ class MMDAnimationHelper {
this.cameraTarget.name = 'target';
this.cameraTarget.userData.frameNum = 0;

this.zeroVector = new Ammo.btVector3();

this.objects = new WeakMap();

this.configuration = {
Expand Down Expand Up @@ -496,6 +494,7 @@ class MMDAnimationHelper {
objects.physics.warmup(params.warmup !== undefined ? params.warmup : 60);

this._optimizeIK(mesh, true);
this.zeroVector = new Ammo.btVector3();

}

Expand Down

0 comments on commit 5f9a3ad

Please sign in to comment.