Explorar o código

Remove the VertexOutput block from the list when in "particle" mode

Popov72 %!s(int64=5) %!d(string=hai) anos
pai
achega
f56f38ad1a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      nodeEditor/src/components/nodeList/nodeListComponent.tsx

+ 1 - 0
nodeEditor/src/components/nodeList/nodeListComponent.tsx

@@ -197,6 +197,7 @@ export class NodeListComponent extends React.Component<INodeListComponentProps,
                 delete allBlocks["Animation"];
                 delete allBlocks["Mesh"];
                 delete allBlocks["PostProcess"];
+                allBlocks.Output_Nodes.splice(allBlocks.Output_Nodes.indexOf("VertexOutputBlock"), 1);
                 break;
         }