|
@@ -8,6 +8,7 @@ import { CheckBoxLineComponent } from '../../sharedComponents/checkBoxLineCompon
|
|
|
import { FloatLineComponent } from '../../sharedComponents/floatLineComponent';
|
|
|
import { SliderLineComponent } from '../../sharedComponents/sliderLineComponent';
|
|
|
import { Vector2LineComponent } from '../../sharedComponents/vector2LineComponent';
|
|
|
+import { OptionsLineComponent } from '../../sharedComponents/OptionsLineComponent';
|
|
|
import { InputBlock } from 'babylonjs/Materials/Node/Blocks/Input/inputBlock';
|
|
|
import { PropertyTypeForEdition, IPropertyDescriptionForEdition } from 'babylonjs/Materials/Node/nodeMaterialDecorator';
|
|
|
|
|
@@ -113,6 +114,12 @@ export class GenericPropertyTabComponent extends React.Component<IPropertyCompon
|
|
|
);
|
|
|
break;
|
|
|
}
|
|
|
+ case PropertyTypeForEdition.List: {
|
|
|
+ components.push(
|
|
|
+ <OptionsLineComponent label={displayName} options={options.options} target={this.props.block} propertyName={propertyName} />
|
|
|
+ );
|
|
|
+ break;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|