3 class MspGLProperties(bpy.types.Panel):
4 bl_idname = "OBJECT_PT_mspgl_properties"
5 bl_label = "MspGL properties"
6 bl_space_type = "PROPERTIES"
7 bl_region_type = "WINDOW"
10 def draw(self, context):
11 obj = context.active_object
13 self.layout.prop(obj, "technique");
14 self.layout.prop(obj, "compound");
16 def register_properties():
17 bpy.types.Object.technique = bpy.props.StringProperty(name="Technique", description="Name of the technique to use for rendering")
18 bpy.types.Object.compound = bpy.props.BoolProperty(name="Compound with parent", description="Join this object to its parent when exporting")