Browse Source

cleaning for PR

Pamela Wolf 4 năm trước cách đây
mục cha
commit
e1073296d5

+ 4 - 0
dist/preview release/what's new.md

@@ -24,6 +24,10 @@
 
 - Added support for sounds in the inspector ([Deltakosh](https://github.com/deltakosh))
 
+### NME
+
+- Added ability to make input node's properties visible in the properties of a custom frame ([msDestiny14](https://github.com/msDestiny14))
+
 ### GUI
 
 - Added a `FocusableButton` gui control to simplify creating menus with keyboard navigation ([Flux159](https://github.com/Flux159))

+ 0 - 1
nodeEditor/src/components/propertyTab/inputsPropertyTabComponent.tsx

@@ -1,4 +1,3 @@
-
 import * as React from "react";
 import { GlobalState } from '../../globalState';
 import { LineContainerComponent } from '../../sharedComponents/lineContainerComponent';

+ 0 - 1
nodeEditor/src/components/propertyTab/propertyTabComponent.tsx

@@ -35,7 +35,6 @@ import { OptionsLineComponent } from '../../sharedComponents/optionsLineComponen
 import { NodeMaterialModes } from 'babylonjs/Materials/Node/Enums/nodeMaterialModes';
 import { PreviewType } from '../preview/previewType';
 import { TextInputLineComponent } from '../../sharedComponents/textInputLineComponent';
-import { InputPropertyTabComponent } from '../../diagram/properties/inputNodePropertyComponent';
 import { InputsPropertyTabComponent } from './inputsPropertyTabComponent';
 require("./propertyTab.scss");
 

+ 5 - 5
src/Materials/Node/nodeMaterialBlock.ts

@@ -156,11 +156,11 @@ export class NodeMaterialBlock {
         return null;
     }
 
-     /** Gets or sets a boolean indicating that this input can be edited in the Inspector (false by default) */
-     public visibleInInspector = false;
-     
-     /** Gets or sets a boolean indicating that this input can be edited from a collapsed frame*/
-     public visibleOnFrame = false;
+    /** Gets or sets a boolean indicating that this input can be edited in the Inspector (false by default) */
+    public visibleInInspector = false;
+
+    /** Gets or sets a boolean indicating that this input can be edited from a collapsed frame*/
+    public visibleOnFrame = false;
 
     /**
      * Creates a new NodeMaterialBlock