|
@@ -56,6 +56,7 @@ bpy.types.Object.THREE_castShadow = bpy.props.BoolProperty()
|
|
|
bpy.types.Object.THREE_receiveShadow = bpy.props.BoolProperty()
|
|
|
bpy.types.Object.THREE_doubleSided = bpy.props.BoolProperty()
|
|
|
bpy.types.Object.THREE_exportGeometry = bpy.props.BoolProperty(default = True)
|
|
|
+bpy.types.Object.THREE_visible = bpy.props.BoolProperty(default = True)
|
|
|
|
|
|
bpy.types.Material.THREE_useVertexColors = bpy.props.BoolProperty()
|
|
|
bpy.types.Material.THREE_depthWrite = bpy.props.BoolProperty(default = True)
|
|
@@ -94,6 +95,9 @@ class OBJECT_PT_hello( bpy.types.Panel ):
|
|
|
|
|
|
row = layout.row()
|
|
|
row.prop( obj, "THREE_doubleSided", text="Double sided" )
|
|
|
+
|
|
|
+ row = layout.row()
|
|
|
+ row.prop( obj, "THREE_visible", text="Visible" )
|
|
|
|
|
|
class MATERIAL_PT_hello( bpy.types.Panel ):
|
|
|
|