From 24b489f7a2c4138c1ddf3844fc93f24acfe07d09 Mon Sep 17 00:00:00 2001 From: Yusarina Date: Sat, 29 Nov 2025 22:49:18 +0000 Subject: [PATCH] Fix swapped operator IDs for Apply Pose as Rest/Shapekey buttons --- functions/pose_mode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/pose_mode.py b/functions/pose_mode.py index b55fea1..f0815c8 100644 --- a/functions/pose_mode.py +++ b/functions/pose_mode.py @@ -92,7 +92,7 @@ class AvatarToolkit_OT_StopPoseMode(Operator): self.report({'ERROR'}, t("PoseMode.error.stop", error=traceback.format_exc())) return {'CANCELLED'} -class AvatarToolkit_OT_ApplyPoseAsRest(Operator, BatchPoseOperationMixin): +class AvatarToolkit_OT_ApplyPoseAsShapekey(Operator, BatchPoseOperationMixin): bl_idname = 'avatar_toolkit.apply_pose_as_shapekey' bl_label = t("QuickAccess.apply_pose_as_shapekey.label") bl_description = t("QuickAccess.apply_pose_as_shapekey.desc") @@ -136,7 +136,7 @@ class AvatarToolkit_OT_ApplyPoseAsRest(Operator, BatchPoseOperationMixin): self.report({'ERROR'}, t("PoseMode.error.shapekey", error=traceback.format_exc())) return {'CANCELLED'} -class AvatarToolkit_OT_ApplyPoseAsShapekey(Operator, BatchPoseOperationMixin): +class AvatarToolkit_OT_ApplyPoseAsRest(Operator, BatchPoseOperationMixin): bl_idname = 'avatar_toolkit.apply_pose_as_rest' bl_label = t("QuickAccess.apply_pose_as_rest.label") bl_description = t("QuickAccess.apply_pose_as_rest.desc")