[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45394] trunk/blender/release/scripts/ startup/bl_ui: replace relative imports with absolute imports so scritps can be executed directly (live editing).

Campbell Barton ideasman42 at gmail.com
Wed Apr 4 16:39:54 CEST 2012


Revision: 45394
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45394
Author:   campbellbarton
Date:     2012-04-04 14:39:52 +0000 (Wed, 04 Apr 2012)
Log Message:
-----------
replace relative imports with absolute imports so scritps can be executed directly (live editing).

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/properties_data_armature.py
    trunk/blender/release/scripts/startup/bl_ui/properties_object.py
    trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
    trunk/blender/release/scripts/startup/bl_ui/properties_physics_cloth.py
    trunk/blender/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
    trunk/blender/release/scripts/startup/bl_ui/properties_physics_field.py
    trunk/blender/release/scripts/startup/bl_ui/properties_physics_smoke.py
    trunk/blender/release/scripts/startup/bl_ui/properties_physics_softbody.py
    trunk/blender/release/scripts/startup/bl_ui/properties_texture.py
    trunk/blender/release/scripts/startup/bl_ui/space_dopesheet.py
    trunk/blender/release/scripts/startup/bl_ui/space_graph.py
    trunk/blender/release/scripts/startup/bl_ui/space_image.py
    trunk/blender/release/scripts/startup/bl_ui/space_nla.py
    trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py
    trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
    trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
    trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_data_armature.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_data_armature.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_data_armature.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -289,7 +289,7 @@
                 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,
     )

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_object.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_object.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_object.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -283,7 +283,7 @@
         row.prop(ob, "slow_parent_offset", text="Offset")
 
 
-from .properties_animviz import (
+from bl_ui.properties_animviz import (
     MotionPathButtonsPanel,
     OnionSkinButtonsPanel,
     )

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_particle.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_particle.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -21,7 +21,7 @@
 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,

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_physics_cloth.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_physics_cloth.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_physics_cloth.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -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,
     )

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -17,11 +17,10 @@
 # ##### 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,
     )

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_physics_field.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_physics_field.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_physics_field.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -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,
     )

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_physics_smoke.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_physics_smoke.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_physics_smoke.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -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,
     )

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_physics_softbody.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_physics_softbody.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_physics_softbody.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -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,
     )

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_texture.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_texture.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_texture.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -52,7 +52,7 @@
         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):

Modified: trunk/blender/release/scripts/startup/bl_ui/space_dopesheet.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_dopesheet.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/space_dopesheet.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -210,7 +210,7 @@
     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

Modified: trunk/blender/release/scripts/startup/bl_ui/space_graph.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_graph.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/space_graph.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -26,7 +26,7 @@
     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 @@
     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?

Modified: trunk/blender/release/scripts/startup/bl_ui/space_image.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_image.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/space_image.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -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):

Modified: trunk/blender/release/scripts/startup/bl_ui/space_nla.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_nla.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/space_nla.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -26,7 +26,7 @@
     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 @@
     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)
 
 

Modified: trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -162,7 +162,7 @@
     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)
 
 

Modified: trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_userpref.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/space_userpref.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -845,7 +845,7 @@
         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):

Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d.py	2012-04-04 10:55:55 UTC (rev 45393)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d.py	2012-04-04 14:39:52 UTC (rev 45394)
@@ -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):

Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py	2012-04-04 10:55:55 UTC (rev 45393)

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list