Skip to content

Commit

Permalink
don't compute models bounding box
Browse files Browse the repository at this point in the history
  • Loading branch information
sdumetz committed Oct 24, 2024
1 parent dff5bcf commit f4cd775
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/client/io/ModelReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ export default class ModelReader
material.map.colorSpace = SRGBColorSpace;
}

mesh.geometry.computeBoundingBox();

const uberMat = material.type === "MeshPhysicalMaterial" ? new UberPBRAdvMaterial() : new UberPBRMaterial();

if (material.flatShading) {
Expand Down

0 comments on commit f4cd775

Please sign in to comment.