소스 검색

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

Popov72 5 년 전
부모
커밋
f56f38ad1a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
         }