Skip to content

Commit

Permalink
Merge pull request #14455 from bghgary/mesh-parse-fix
Browse files Browse the repository at this point in the history
Fix an issue in the mesh parsing code
  • Loading branch information
sebavan committed Oct 24, 2023
2 parents 9341036 + 800cf1c commit 54b8495
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/dev/core/src/Meshes/mesh.ts
Expand Up @@ -4008,7 +4008,10 @@ export class Mesh extends AbstractMesh implements IGetSetVerticesData {
}

mesh.checkCollisions = parsedMesh.checkCollisions;
mesh.overrideMaterialSideOrientation = parsedMesh.overrideMaterialSideOrientation;

if (parsedMesh.overrideMaterialSideOrientation !== undefined) {
mesh.overrideMaterialSideOrientation = parsedMesh.overrideMaterialSideOrientation;
}

if (parsedMesh.isBlocker !== undefined) {
mesh.isBlocker = parsedMesh.isBlocker;
Expand Down

0 comments on commit 54b8495

Please sign in to comment.