]> git.tdb.fi Git - libs/gl.git/blob - blender/io_mspgl/properties.py
d2d36cb9762d428137b06a3e8148c02e3a50af8e
[libs/gl.git] / blender / io_mspgl / properties.py
1 import bpy
2
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"
8         bl_context = "object"
9
10         def draw(self, context):
11                 obj = context.active_object
12
13                 self.layout.prop(obj, "compound");
14
15 def register_properties():
16         bpy.types.Object.compound = bpy.props.BoolProperty(name="Compound with parent", description="Join this object to its parent when exporting")