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:
authorJoshua Leung <aligorith@gmail.com>2016-05-21 09:33:44 +0300
committerJoshua Leung <aligorith@gmail.com>2016-05-21 09:34:06 +0300
commit92a3ac4dd2d4e6a03f888bd7f9902d7785472062 (patch)
tree04fb5692d3002fd722541178f5b433a6b5ddb832 /release
parentb730238e6d62f38d03cdb6cdcf03e0f0e89668c0 (diff)
GPencil: Add hotkeys for the "Delete Active Frame" operator
Usage: * D+X - Works anytime, anywhere * Shift-X - Works in EditMode only * Via Delete Menu - EditMode only Often doing video tutorials or perhaps during dailies/shot review you want to quickly get rid of a quick scribble you made for making a point, without having to undo (i.e. maybe you edited some objects in between) and/or without having to use the eraser (i.e. it'd take too long to cover the entire area).
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 2b92f20dcf6..e8d3329c0da 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2615,6 +2615,10 @@ class VIEW3D_MT_edit_gpencil_delete(Menu):
layout.operator("gpencil.dissolve")
+ layout.separator()
+
+ layout.operator("gpencil.active_frame_delete")
+
# Edit Curve
# draw_curve is used by VIEW3D_MT_edit_curve and VIEW3D_MT_edit_surface