replace relative imports with absolute imports so scritps can be executed directly...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 4 Apr 2012 14:39:52 +0000 (14:39 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 4 Apr 2012 14:39:52 +0000 (14:39 +0000)
17 files changed:
release/scripts/startup/bl_ui/properties_data_armature.py
release/scripts/startup/bl_ui/properties_object.py
release/scripts/startup/bl_ui/properties_particle.py
release/scripts/startup/bl_ui/properties_physics_cloth.py
release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
release/scripts/startup/bl_ui/properties_physics_field.py
release/scripts/startup/bl_ui/properties_physics_smoke.py
release/scripts/startup/bl_ui/properties_physics_softbody.py
release/scripts/startup/bl_ui/properties_texture.py
release/scripts/startup/bl_ui/space_dopesheet.py
release/scripts/startup/bl_ui/space_graph.py
release/scripts/startup/bl_ui/space_image.py
release/scripts/startup/bl_ui/space_nla.py
release/scripts/startup/bl_ui/space_sequencer.py
release/scripts/startup/bl_ui/space_userpref.py
release/scripts/startup/bl_ui/space_view3d.py
release/scripts/startup/bl_ui/space_view3d_toolbar.py

index d1bc0694a89104d7acea2a230f351dc91f70eb27..b94af13af7e2078ce4d66a8b5153fe8105b0ef0b 100644 (file)
@@ -289,7 +289,7 @@ class DATA_PT_iksolver_itasc(ArmatureButtonsPanel, Panel):
                 row.prop(itasc, "damping_max", text="Damp", slider=True)
                 row.prop(itasc, "damping_epsilon", text="Eps", slider=True)
 
-from .properties_animviz import (
+from bl_ui.properties_animviz import (
     MotionPathButtonsPanel,
     OnionSkinButtonsPanel,
     )
index 3a84517a369bb01767c868de7fc9866939d0fe93..c03aeab1f371956fe075c67db096f423cdb2797a 100644 (file)
@@ -283,7 +283,7 @@ class OBJECT_PT_relations_extras(ObjectButtonsPanel, Panel):
         row.prop(ob, "slow_parent_offset", text="Offset")
 
 
-from .properties_animviz import (
+from bl_ui.properties_animviz import (
     MotionPathButtonsPanel,
     OnionSkinButtonsPanel,
     )
index 78038e2c663a3a89ce6bb0620790a6d2a9b80be7..c540c62f35935fd3868265d6527b209dfb1a7260 100644 (file)
@@ -21,7 +21,7 @@ import bpy
 from bpy.types import Panel
 from rna_prop_ui import PropertyPanel
 
-from .properties_physics_common import (
+from bl_ui.properties_physics_common import (
     point_cache_ui,
     effector_weights_ui,
     basic_force_field_settings_ui,
index dc64aacf043da6edf920a70141284e5963612ce7..14c7b381ee79809b565d2e78702fc4744fc2a242 100644 (file)
@@ -20,7 +20,7 @@
 import bpy
 from bpy.types import Menu, Panel
 
-from .properties_physics_common import (
+from bl_ui.properties_physics_common import (
     point_cache_ui,
     effector_weights_ui,
     )
index e1e47c1e85ff194e6374cd0975bf36ad513316e1..04696c793a6d2acf505e529456ffe09f5a4368ba 100644 (file)
 # ##### END GPL LICENSE BLOCK #####
 
 # <pep8 compliant>
-
 import bpy
 from bpy.types import Panel
 
-from .properties_physics_common import (
+from bl_ui.properties_physics_common import (
     point_cache_ui,
     effector_weights_ui,
     )
index bc7f330a546c6019b2f5c3ccbd2c11f0b89c6b13..2229b9dc3dab244bc5f8ec0656eebb8d99541724 100644 (file)
@@ -20,7 +20,7 @@
 import bpy
 from bpy.types import Panel
 
-from .properties_physics_common import (
+from bl_ui.properties_physics_common import (
     basic_force_field_settings_ui,
     basic_force_field_falloff_ui,
     )
index 4c413647210a5e53eac8ccc8fd42edc04feee1ea..9f760f2f0243c5cd1afa71ed457f2bcd81b25ae4 100644 (file)
@@ -20,7 +20,7 @@
 import bpy
 from bpy.types import Panel
 
-from .properties_physics_common import (
+from bl_ui.properties_physics_common import (
     point_cache_ui,
     effector_weights_ui,
     )
index 78c74a7e1d314037e1e5cc7fbd58ac8ecf48f256..ea4180c891f2fa7529015788ddbfd840e731e7f6 100644 (file)
@@ -20,7 +20,7 @@
 import bpy
 from bpy.types import Panel
 
-from .properties_physics_common import (
+from bl_ui.properties_physics_common import (
     point_cache_ui,
     effector_weights_ui,
     )
index 13d25e6ac8d5691d0968d9bdbfdb75532408aab7..320475815507ea68a1cca951f542689cbcaa7be8 100644 (file)
@@ -52,7 +52,7 @@ class TEXTURE_MT_envmap_specials(Menu):
         layout.operator("texture.envmap_clear", icon='FILE_REFRESH')
         layout.operator("texture.envmap_clear_all", icon='FILE_REFRESH')
 
-from .properties_material import active_node_mat
+from bl_ui.properties_material import active_node_mat
 
 
 def context_tex_datablock(context):
index b7d69fb38b339e7420e74f9297df0b8a1888cfce..e39ed4ec3264410a55e12eb42c6d90531b1b0621 100644 (file)
@@ -210,7 +210,7 @@ class DOPESHEET_MT_marker(Menu):
     def draw(self, context):
         layout = self.layout
 
-        from .space_time import marker_menu_generic
+        from bl_ui.space_time import marker_menu_generic
         marker_menu_generic(layout)
 
         st = context.space_data
index 36ba5eeb92e491975af21c7a44736e28b0def803..8c28835fa99cc878a96e3899b58687dfe819e777 100644 (file)
@@ -26,7 +26,7 @@ class GRAPH_HT_header(Header):
     bl_space_type = 'GRAPH_EDITOR'
 
     def draw(self, context):
-        from .space_dopesheet import dopesheet_filter
+        from bl_ui.space_dopesheet import dopesheet_filter
 
         layout = self.layout
 
@@ -144,7 +144,7 @@ class GRAPH_MT_marker(Menu):
     def draw(self, context):
         layout = self.layout
 
-        from .space_time import marker_menu_generic
+        from bl_ui.space_time import marker_menu_generic
         marker_menu_generic(layout)
 
         # TODO: pose markers for action edit mode only?
index c91f63cac8bd7ad82701312233b3485696c1d572..861a5670393382bde933b604b1114075094cd010 100644 (file)
@@ -19,7 +19,7 @@
 # <pep8 compliant>
 import bpy
 from bpy.types import Header, Menu, Panel
-from .properties_paint_common import UnifiedPaintPanel
+from bl_ui.properties_paint_common import UnifiedPaintPanel
 
 
 class ImagePaintPanel(UnifiedPaintPanel):
index 33610f3ba33bbd43040ea2c6bb01b485a5a1490e..b15dcb3d07cbcd5ac1214bcf78b6e891677e774f 100644 (file)
@@ -26,7 +26,7 @@ class NLA_HT_header(Header):
     bl_space_type = 'NLA_EDITOR'
 
     def draw(self, context):
-        from .space_dopesheet import dopesheet_filter
+        from bl_ui.space_dopesheet import dopesheet_filter
 
         layout = self.layout
 
@@ -104,7 +104,7 @@ class NLA_MT_marker(Menu):
     def draw(self, context):
         layout = self.layout
 
-        from .space_time import marker_menu_generic
+        from bl_ui.space_time import marker_menu_generic
         marker_menu_generic(layout)
 
 
index c66f6145db19ef3e95f9ec4660d296dad6f14575..aae950519a41c97125f3918312090f7b88b0f4b0 100644 (file)
@@ -162,7 +162,7 @@ class SEQUENCER_MT_marker(Menu):
     def draw(self, context):
         layout = self.layout
 
-        from .space_time import marker_menu_generic
+        from bl_ui.space_time import marker_menu_generic
         marker_menu_generic(layout)
 
 
index 2f9767fb56c1bd74f727a57a44b7c648732b4ddb..ab57a0ea400dec767b957d35e9e6d79c1efb6786 100644 (file)
@@ -845,7 +845,7 @@ class USERPREF_PT_file(Panel):
         col.prop(system, "use_tabs_as_spaces")
 
 
-from .space_userpref_keymap import InputKeyMapPanel
+from bl_ui.space_userpref_keymap import InputKeyMapPanel
 
 
 class USERPREF_MT_ndof_settings(Menu):
index 905843fcfec954c740cd974306ec210bea8f8fd8..c71ac6b4c101baa773b42a64d62dac14c4f9dfba 100644 (file)
@@ -19,7 +19,7 @@
 # <pep8 compliant>
 import bpy
 from bpy.types import Header, Menu, Panel
-from .properties_paint_common import UnifiedPaintPanel
+from bl_ui.properties_paint_common import UnifiedPaintPanel
 
 
 class VIEW3D_HT_header(Header):
index 55eb4f26c3f02fea61c32ba307b1c4aa9f7093e1..b3c8e94a3c477b68209cdd152bcc22e63cd72d47 100644 (file)
@@ -19,7 +19,7 @@
 # <pep8 compliant>
 import bpy
 from bpy.types import Menu, Panel
-from .properties_paint_common import UnifiedPaintPanel
+from bl_ui.properties_paint_common import UnifiedPaintPanel
 
 
 class View3DPanel():