Changed the script UI registration to import rather then run each python script,
[blender-staging.git] / release / ui / buttons_objects.py
index 48c113a84ff45edfe0ccdb50559b106a850c3923..9e4cb9340a41689023bb62a2dd307d00b9fa367c 100644 (file)
@@ -1,3 +1,4 @@
+import bpy
 
 class OBJECT_PT_transform(bpy.types.Panel):
        __label__ = "Transform"
 
 class OBJECT_PT_transform(bpy.types.Panel):
        __label__ = "Transform"
@@ -121,4 +122,3 @@ bpy.ui.addPanel(OBJECT_PT_groups, "BUTTONS_WINDOW", "WINDOW")
 bpy.ui.addPanel(OBJECT_PT_display, "BUTTONS_WINDOW", "WINDOW")
 bpy.ui.addPanel(OBJECT_PT_duplication, "BUTTONS_WINDOW", "WINDOW")
 bpy.ui.addPanel(OBJECT_PT_animation, "BUTTONS_WINDOW", "WINDOW")
 bpy.ui.addPanel(OBJECT_PT_display, "BUTTONS_WINDOW", "WINDOW")
 bpy.ui.addPanel(OBJECT_PT_duplication, "BUTTONS_WINDOW", "WINDOW")
 bpy.ui.addPanel(OBJECT_PT_animation, "BUTTONS_WINDOW", "WINDOW")
-