瀏覽代碼

building success

Trevor Baron 6 年之前
父節點
當前提交
c03e0c56a0

+ 1 - 3
nodeEditor/src/sharedComponents/textureLineComponent.tsx

@@ -7,13 +7,11 @@ import { RenderTargetTexture } from "babylonjs/Materials/Textures/renderTargetTe
 import { PostProcess } from "babylonjs/PostProcesses/postProcess";
 import { PassPostProcess, PassCubePostProcess } from "babylonjs/PostProcesses/passPostProcess";
 
-//import { GlobalState } from "../../../components/globalState";
-
 interface ITextureLineComponentProps {
     texture: BaseTexture;
     width: number;
     height: number;
-    globalState?: any; //
+    globalState?: any;
     hideChannelSelect?:boolean;
 }
 

+ 1 - 0
package.json

@@ -37,6 +37,7 @@
     "readmeFilename": "README.md",
     "dependencies": {},
     "devDependencies": {
+        "storm-react-diagrams": "^5.2.1",
         "@fortawesome/fontawesome-svg-core": "~1.2.8",
         "@fortawesome/free-regular-svg-icons": "~5.4.1",
         "@fortawesome/free-solid-svg-icons": "~5.4.1",

+ 2 - 0
src/Materials/Node/nodeMaterialBlockConnectionPoint.ts

@@ -12,7 +12,9 @@ declare type NodeMaterialBlock = import("./nodeMaterialBlock").NodeMaterialBlock
  * Defines a connection point for a block
  */
 export class NodeMaterialConnectionPoint {
+    /** @hidden */
     public _ownerBlock: NodeMaterialBlock;
+    /** @hidden */
     public _connectedPoint: Nullable<NodeMaterialConnectionPoint>;
     private _associatedVariableName: string;
     private _endpoints = new Array<NodeMaterialConnectionPoint>();