Cleanup: defer loading anim_utils (previous wm.py commit wasn't enough)

This commit is contained in:
Campbell Barton
2025-10-02 09:27:16 +10:00
parent b78c5fadf3
commit a941108804
2 changed files with 4 additions and 2 deletions

View File

@@ -25,7 +25,6 @@ __all__ = (
import bpy
from bpy_extras import anim_utils
###########################
# General Utilities
@@ -130,6 +129,8 @@ def RKS_ITER_selected_bones(ksi, context, ks):
# "Available" F-Curves.
def RKS_GEN_available(_ksi, _context, ks, data):
from bpy_extras import anim_utils
# try to get the animation data associated with the closest
# ID-block to the data (neither of which may exist/be easy to find)
id_block = data.id_data