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:
authorMatt Ebb <matt@mke3.net>2005-11-04 14:23:22 +0300
committerMatt Ebb <matt@mke3.net>2005-11-04 14:23:22 +0300
commit1f2a7efd7071681c3d21df6fbf3c1031dc3638fb (patch)
tree49868c69e37f8d4ea0587d37871de4e39e0e57de /source/blender/src/header_time.c
parent8a0befc3fd0e1a3a05c5c9e066f52c17059b146f (diff)
Small thing, just filling a gap that we really need here -
Added duplication of markers in the timeline with Shift D (in the frame menu too)
Diffstat (limited to 'source/blender/src/header_time.c')
-rw-r--r--source/blender/src/header_time.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/blender/src/header_time.c b/source/blender/src/header_time.c
index 0b48d51bd47..cb1a5b26885 100644
--- a/source/blender/src/header_time.c
+++ b/source/blender/src/header_time.c
@@ -296,6 +296,9 @@ static void do_time_framemenu(void *arg, int event)
case 6: /* Grab Marker */
timeline_grab('g', 0);
break;
+ case 7: /* duplicate marker */
+ duplicate_timeline_marker();
+ break;
}
allqueue(REDRAWTIME, 0);
}
@@ -311,11 +314,16 @@ static uiBlock *time_framemenu(void *arg_unused)
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Add Marker|M", 0, yco-=20,
menuwidth, 19, NULL, 0.0, 0.0, 1, 3, "");
- uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Remove Marker|X", 0, yco-=20,
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Duplicate Marker|M", 0, yco-=20,
+ menuwidth, 19, NULL, 0.0, 0.0, 1, 7, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Delete Marker|X", 0, yco-=20,
menuwidth, 19, NULL, 0.0, 0.0, 1, 4, "");
+
+ uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");
+
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Name Marker|Ctrl M", 0, yco-=20,
menuwidth, 19, NULL, 0.0, 0.0, 1, 5, "");
- uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Grab/move Marker|G", 0, yco-=20,
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Grab/Move Marker|G", 0, yco-=20,
menuwidth, 19, NULL, 0.0, 0.0, 1, 6, "");
uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");