From 654c7432d2339dc6346a843dd863892cfe76a372 Mon Sep 17 00:00:00 2001 From: Nokaubure Date: Tue, 17 Dec 2024 19:04:31 +0100 Subject: [PATCH] few updates --- fast64_internal/oot/skeleton/importer/functions.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fast64_internal/oot/skeleton/importer/functions.py b/fast64_internal/oot/skeleton/importer/functions.py index 9ecbfdaa9..a6e8f638e 100644 --- a/fast64_internal/oot/skeleton/importer/functions.py +++ b/fast64_internal/oot/skeleton/importer/functions.py @@ -329,15 +329,10 @@ def ootImportSkeletonC(basePath: str, importSettings: OOTSkeletonImportSettings) if importAnimations: if armatureObj is not None: - bpy.ops.object.select_all(action='DESELECT') - - armatureObj.select_set(True) - - bpy.context.view_layer.objects.active = armatureObj + selectSingleObject(armatureObj); animation_names = ootGetAnimNames(skeletonData) animation_names = list(dict.fromkeys(animation_names)) - #print(animation_names) # Call quick_import_exec for each animation name for animation_name in animation_names: quick_import_exec(bpy.context, animation_name)