Skip to content

Commit

Permalink
fix more errors from bumping three
Browse files Browse the repository at this point in the history
  • Loading branch information
frasercl committed Sep 25, 2024
1 parent bf87d24 commit 9348bb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/visGeometry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ class VisGeometry {
this.setPdbLods();

this.scene.updateMatrixWorld();
this.scene.autoUpdate = false;
this.scene.matrixAutoUpdate = false;

// collect up the meshes that have > 0 instances
const meshTypes: GeometryInstanceContainer[] = [];
Expand Down Expand Up @@ -1081,7 +1081,7 @@ class VisGeometry {
this.instancedMeshGroup.visible = true;
this.threejsrenderer.autoClear = true;

this.scene.autoUpdate = true;
this.scene.matrixAutoUpdate = true;
}
}

Expand Down

0 comments on commit 9348bb0

Please sign in to comment.