|
@@ -5,6 +5,7 @@ import { Nullable } from 'babylonjs/types';
|
|
import { TexturePropertyTabComponent } from './properties/texturePropertyTabComponent';
|
|
import { TexturePropertyTabComponent } from './properties/texturePropertyTabComponent';
|
|
import { GenericNodeModel } from '../diagram/generic/genericNodeModel';
|
|
import { GenericNodeModel } from '../diagram/generic/genericNodeModel';
|
|
import { Vector2PropertyTabComponent } from './properties/vector2PropertyTabComponent';
|
|
import { Vector2PropertyTabComponent } from './properties/vector2PropertyTabComponent';
|
|
|
|
+import { Vector3PropertyTabComponent } from './properties/vector3PropertyTabComponent';
|
|
require("./propertyTab.scss");
|
|
require("./propertyTab.scss");
|
|
|
|
|
|
interface IPropertyTabComponentProps {
|
|
interface IPropertyTabComponentProps {
|
|
@@ -41,6 +42,13 @@ export class PropertyTabComponent extends React.Component<IPropertyTabComponentP
|
|
</div>
|
|
</div>
|
|
);
|
|
);
|
|
}
|
|
}
|
|
|
|
+ if(this.state.currentNode.vector3) {
|
|
|
|
+ return (
|
|
|
|
+ <div id="propertyTab">
|
|
|
|
+ <Vector3PropertyTabComponent globalState={this.props.globalState} node={this.state.currentNode} />
|
|
|
|
+ </div>
|
|
|
|
+ );
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
return (
|
|
return (
|