[Bf-blender-cvs] [04fe5edba3d] blender2.8: Fix: Typos in operator names were resulting in warnings being printed to the console

Joshua Leung noreply at git.blender.org
Sat Apr 21 00:37:59 CEST 2018


Commit: 04fe5edba3d69aa13523488d0e50bfd515cf7891
Author: Joshua Leung
Date:   Sat Apr 21 00:34:19 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB04fe5edba3d69aa13523488d0e50bfd515cf7891

Fix: Typos in operator names were resulting in warnings being printed to the console

===================================================================

M	source/blender/editors/animation/anim_ops.c

===================================================================

diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c
index 8ea46e55b49..eace5af4701 100644
--- a/source/blender/editors/animation/anim_ops.c
+++ b/source/blender/editors/animation/anim_ops.c
@@ -331,7 +331,7 @@ static void ANIM_OT_start_frame_set(wmOperatorType *ot)
 {
 	/* identifiers */
 	ot->name = "Set Start Frame";
-	ot->idname = "anim_OT_start_frame_set";
+	ot->idname = "ANIM_OT_start_frame_set";
 	ot->description = "Set the start frame";
 	
 	/* api callbacks */
@@ -375,7 +375,7 @@ static void ANIM_OT_end_frame_set(wmOperatorType *ot)
 {
 	/* identifiers */
 	ot->name = "Set End Frame";
-	ot->idname = "anim_OT_end_frame_set";
+	ot->idname = "ANIM_OT_end_frame_set";
 	ot->description = "Set the end frame";
 	
 	/* api callbacks */



More information about the Bf-blender-cvs mailing list