David Catuhe преди 6 години
родител
ревизия
fea3d5c5ff
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      inspector/src/components/actionTabs/tabs/propertyGrids/meshes/meshPropertyGridComponent.tsx

+ 1 - 1
inspector/src/components/actionTabs/tabs/propertyGrids/meshes/meshPropertyGridComponent.tsx

@@ -111,7 +111,7 @@ export class MeshPropertyGridComponent extends React.Component<IMeshPropertyGrid
         const scene = mesh.getScene();
 
         const displayNormals = mesh.material != null && mesh.material.getClassName() === "NormalMaterial";
-        const renderNormalVectors = mesh.metadata && mesh.metadata.normalLines;
+        const renderNormalVectors = (mesh.metadata && mesh.metadata.normalLines) ? true : false;
 
         return (
             <div className="pane">