replace relative imports with absolute imports so scritps can be executed directly (live editing).

This commit is contained in:
Campbell Barton
2012-04-04 14:39:52 +00:00
parent 329c665c16
commit c93c8bda3d
17 changed files with 19 additions and 20 deletions

View 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_max", text="Damp", slider=True)
row.prop(itasc, "damping_epsilon", text="Eps", slider=True) row.prop(itasc, "damping_epsilon", text="Eps", slider=True)
from .properties_animviz import ( from bl_ui.properties_animviz import (
MotionPathButtonsPanel, MotionPathButtonsPanel,
OnionSkinButtonsPanel, OnionSkinButtonsPanel,
) )

View File

@@ -283,7 +283,7 @@ class OBJECT_PT_relations_extras(ObjectButtonsPanel, Panel):
row.prop(ob, "slow_parent_offset", text="Offset") row.prop(ob, "slow_parent_offset", text="Offset")
from .properties_animviz import ( from bl_ui.properties_animviz import (
MotionPathButtonsPanel, MotionPathButtonsPanel,
OnionSkinButtonsPanel, OnionSkinButtonsPanel,
) )

View File

@@ -21,7 +21,7 @@ import bpy
from bpy.types import Panel from bpy.types import Panel
from rna_prop_ui import PropertyPanel from rna_prop_ui import PropertyPanel
from .properties_physics_common import ( from bl_ui.properties_physics_common import (
point_cache_ui, point_cache_ui,
effector_weights_ui, effector_weights_ui,
basic_force_field_settings_ui, basic_force_field_settings_ui,

View File

@@ -20,7 +20,7 @@
import bpy import bpy
from bpy.types import Menu, Panel from bpy.types import Menu, Panel
from .properties_physics_common import ( from bl_ui.properties_physics_common import (
point_cache_ui, point_cache_ui,
effector_weights_ui, effector_weights_ui,
) )

View File

@@ -17,11 +17,10 @@
# ##### END GPL LICENSE BLOCK ##### # ##### END GPL LICENSE BLOCK #####
# <pep8 compliant> # <pep8 compliant>
import bpy import bpy
from bpy.types import Panel from bpy.types import Panel
from .properties_physics_common import ( from bl_ui.properties_physics_common import (
point_cache_ui, point_cache_ui,
effector_weights_ui, effector_weights_ui,
) )

View File

@@ -20,7 +20,7 @@
import bpy import bpy
from bpy.types import Panel 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_settings_ui,
basic_force_field_falloff_ui, basic_force_field_falloff_ui,
) )

View File

@@ -20,7 +20,7 @@
import bpy import bpy
from bpy.types import Panel from bpy.types import Panel
from .properties_physics_common import ( from bl_ui.properties_physics_common import (
point_cache_ui, point_cache_ui,
effector_weights_ui, effector_weights_ui,
) )

View File

@@ -20,7 +20,7 @@
import bpy import bpy
from bpy.types import Panel from bpy.types import Panel
from .properties_physics_common import ( from bl_ui.properties_physics_common import (
point_cache_ui, point_cache_ui,
effector_weights_ui, effector_weights_ui,
) )

View File

@@ -52,7 +52,7 @@ class TEXTURE_MT_envmap_specials(Menu):
layout.operator("texture.envmap_clear", icon='FILE_REFRESH') layout.operator("texture.envmap_clear", icon='FILE_REFRESH')
layout.operator("texture.envmap_clear_all", 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): def context_tex_datablock(context):

View File

@@ -210,7 +210,7 @@ class DOPESHEET_MT_marker(Menu):
def draw(self, context): def draw(self, context):
layout = self.layout layout = self.layout
from .space_time import marker_menu_generic from bl_ui.space_time import marker_menu_generic
marker_menu_generic(layout) marker_menu_generic(layout)
st = context.space_data st = context.space_data

View File

@@ -26,7 +26,7 @@ class GRAPH_HT_header(Header):
bl_space_type = 'GRAPH_EDITOR' bl_space_type = 'GRAPH_EDITOR'
def draw(self, context): def draw(self, context):
from .space_dopesheet import dopesheet_filter from bl_ui.space_dopesheet import dopesheet_filter
layout = self.layout layout = self.layout
@@ -144,7 +144,7 @@ class GRAPH_MT_marker(Menu):
def draw(self, context): def draw(self, context):
layout = self.layout layout = self.layout
from .space_time import marker_menu_generic from bl_ui.space_time import marker_menu_generic
marker_menu_generic(layout) marker_menu_generic(layout)
# TODO: pose markers for action edit mode only? # TODO: pose markers for action edit mode only?

View File

@@ -19,7 +19,7 @@
# <pep8 compliant> # <pep8 compliant>
import bpy import bpy
from bpy.types import Header, Menu, Panel from bpy.types import Header, Menu, Panel
from .properties_paint_common import UnifiedPaintPanel from bl_ui.properties_paint_common import UnifiedPaintPanel
class ImagePaintPanel(UnifiedPaintPanel): class ImagePaintPanel(UnifiedPaintPanel):

View File

@@ -26,7 +26,7 @@ class NLA_HT_header(Header):
bl_space_type = 'NLA_EDITOR' bl_space_type = 'NLA_EDITOR'
def draw(self, context): def draw(self, context):
from .space_dopesheet import dopesheet_filter from bl_ui.space_dopesheet import dopesheet_filter
layout = self.layout layout = self.layout
@@ -104,7 +104,7 @@ class NLA_MT_marker(Menu):
def draw(self, context): def draw(self, context):
layout = self.layout layout = self.layout
from .space_time import marker_menu_generic from bl_ui.space_time import marker_menu_generic
marker_menu_generic(layout) marker_menu_generic(layout)

View File

@@ -162,7 +162,7 @@ class SEQUENCER_MT_marker(Menu):
def draw(self, context): def draw(self, context):
layout = self.layout layout = self.layout
from .space_time import marker_menu_generic from bl_ui.space_time import marker_menu_generic
marker_menu_generic(layout) marker_menu_generic(layout)

View File

@@ -845,7 +845,7 @@ class USERPREF_PT_file(Panel):
col.prop(system, "use_tabs_as_spaces") 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): class USERPREF_MT_ndof_settings(Menu):

View File

@@ -19,7 +19,7 @@
# <pep8 compliant> # <pep8 compliant>
import bpy import bpy
from bpy.types import Header, Menu, Panel 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): class VIEW3D_HT_header(Header):

View File

@@ -19,7 +19,7 @@
# <pep8 compliant> # <pep8 compliant>
import bpy import bpy
from bpy.types import Menu, Panel from bpy.types import Menu, Panel
from .properties_paint_common import UnifiedPaintPanel from bl_ui.properties_paint_common import UnifiedPaintPanel
class View3DPanel(): class View3DPanel():