+class MspGLMeshProperties(bpy.types.Panel):
+ bl_idname = "MESH_PT_mspgl_properties"
+ bl_label = "MspGL properties"
+ bl_space_type = "PROPERTIES"
+ bl_region_type = "WINDOW"
+ bl_context = "data"
+
+ @classmethod
+ def poll(cls, context):
+ return context.active_object.type=="MESH"
+
+ def draw(self, context):
+ mesh = context.active_object.data
+
+ self.layout.prop(mesh, "winding_test")
+
+class MspGLObjectProperties(bpy.types.Panel):