[Bf-blender-cvs] [ea147e9a28d] master: UI: Make GP "Add Blank Frame" operator name and description fit its behavior.

Thomas Beck noreply at git.blender.org
Mon May 29 10:56:25 CEST 2017


Commit: ea147e9a28dc5d432f2720ee6077bd72b2299597
Author: Thomas Beck
Date:   Mon May 29 10:51:20 2017 +0200
Branches: master
https://developer.blender.org/rBea147e9a28dc5d432f2720ee6077bd72b2299597

UI: Make GP "Add Blank Frame" operator name and description fit its behavior.

The operator is indeed not adding frames but inserting them at the current frame (shifting all subsequent ones). Changed the operator name and description.

Approved by Antonio.

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

M	source/blender/editors/gpencil/gpencil_edit.c

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

diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index 601a86b97cb..451209a85b7 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -748,10 +748,10 @@ static int gp_blank_frame_add_exec(bContext *C, wmOperator *op)
 void GPENCIL_OT_blank_frame_add(wmOperatorType *ot)
 {
 	/* identifiers */
-	ot->name = "Add Blank Frame";
+	ot->name = "Insert Blank Frame";
 	ot->idname = "GPENCIL_OT_blank_frame_add";
-	ot->description = "Add a new frame with nothing in it on the current frame. "
-	                  "If there is already a frame, all existing frames are shifted one frame later";
+	ot->description = "Inserts a blank frame on the current frame. "
+	                  "All subsequently existing frames (if there are any) are shifted right by one frame.";
 	
 	/* callbacks */
 	ot->exec = gp_blank_frame_add_exec;




More information about the Bf-blender-cvs mailing list