Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beck <software@plasmasolutions.de>2017-05-29 11:51:20 +0300
committerThomas Beck <software@plasmasolutions.de>2017-05-29 11:51:20 +0300
commitea147e9a28dc5d432f2720ee6077bd72b2299597 (patch)
treed812241b220f783d21d35b49c843455bc784e77a
parentecf2f1593a50e95453d883cbf69d54df409bac4a (diff)
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.
-rw-r--r--source/blender/editors/gpencil/gpencil_edit.c6
1 files changed, 3 insertions, 3 deletions
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;