Cleanup: defer import of anim_utils
This commit is contained in:
@@ -27,7 +27,6 @@ from bpy.app.translations import (
|
||||
pgettext_rpt as rpt_,
|
||||
contexts as i18n_contexts,
|
||||
)
|
||||
from bpy_extras import anim_utils
|
||||
|
||||
|
||||
def _rna_path_prop_search_for_context_impl(context, edit_text, unique_attrs):
|
||||
@@ -1822,6 +1821,7 @@ class WM_OT_properties_edit(Operator):
|
||||
item.property_overridable_library_set('["{:s}"]'.format(escaped_name), self.is_overridable_library)
|
||||
|
||||
def _update_blender_for_prop_change(self, context, item, name, prop_type_old, prop_type_new):
|
||||
from bpy_extras import anim_utils
|
||||
from rna_prop_ui import (
|
||||
rna_idprop_ui_prop_update,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user