diff --git a/DBDFixAnimations.py b/DBDFixAnimations.py index ec94f9c..a274d0f 100644 --- a/DBDFixAnimations.py +++ b/DBDFixAnimations.py @@ -46,13 +46,13 @@ def execute(self, context): if (active_object.type == "ARMATURE"): remove_problem_bones_animations(active_object, is_problem_jaw_bone) success_message = "The Problem Animation has been fixed successfully!" - bpy.ops.fuseskeletons.show_message(message = success_message) + bpy.ops.pskpsa.show_message_operator(message = success_message) log(success_message) #throw error message if active object is not a skeleton else: error_message = "Error: Active Object is not an Armature, ensure the active object is the Skeleton with problem animations." - bpy.ops.fuseskeletons.show_message(message = error_message) + bpy.ops.pskpsa.show_message_operator(message = error_message) log(error_message) return {'FINISHED'} @@ -82,13 +82,13 @@ def execute(self, context): remove_problem_bones_animations(active_object, is_problem_jaw_bone) success_message = "All Problem Animations have been fixed successfully!" - bpy.ops.fuseskeletons.show_message(message = success_message) + bpy.ops.pskpsa.show_message_operator(message = success_message) log(success_message) #throw error message if active object is not a skeleton else: error_message = "Error: Active Object is not an Armature, ensure the active object is the Skeleton with problem animations." - bpy.ops.fuseskeletons.show_message(message = error_message) + bpy.ops.pskpsa.show_message_operator(message = error_message) log(error_message) return {'FINISHED'}