diff --git a/src/io_scene_vrm/editor/vrm0/ops.py b/src/io_scene_vrm/editor/vrm0/ops.py index 339d8f9ab..8fb16b87c 100644 --- a/src/io_scene_vrm/editor/vrm0/ops.py +++ b/src/io_scene_vrm/editor/vrm0/ops.py @@ -1462,7 +1462,7 @@ def execute(self, _context: Context) -> set[str]: secondary_animation = armature_data.vrm_addon_extension.vrm0.secondary_animation if len(secondary_animation.bone_groups) <= self.bone_group_index: return {"CANCELLED"} - new_index = (self.bone_group_index - 1) % len(secondary_animation.bone_groups) + new_index = (self.bone_group_index + 1) % len(secondary_animation.bone_groups) secondary_animation.bone_groups.move(self.bone_group_index, new_index) secondary_animation.active_bone_group_index = new_index return {"FINISHED"}