Cleanup: defer import of anim_utils

This commit is contained in:
Campbell Barton
2025-10-01 23:22:43 +00:00
parent df5366f596
commit 8269e17186

View File

@@ -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,
)