def draw(self, context):
obj = context.active_object
- self.layout.prop(obj, "technique");
- self.layout.prop(obj, "inherit_tech");
+ self.layout.prop(obj, "technique")
+ self.layout.prop(obj, "inherit_tech")
if obj.inherit_tech:
- self.layout.prop(obj, "override_material");
+ self.layout.prop(obj, "override_material")
self.layout.prop(obj, "material_tex")
- self.layout.prop(obj, "compound");
+ self.layout.prop(obj, "compound")
self.layout.prop(obj, "lod_for_parent")
if obj.lod_for_parent:
self.layout.prop(obj, "lod_index")
return
self.layout.prop(mat, "srgb_colors")
- self.layout.prop(mat, "array_atlas");
+ self.layout.prop(mat, "array_atlas")
if mat.array_atlas:
- self.layout.prop(mat, "array_layer");
+ self.layout.prop(mat, "array_layer")
def register_properties():
bpy.types.Mesh.winding_test = bpy.props.BoolProperty(name="Winding test", description="Perform winding test to skip back faces")