diff options
author | Charlie Jolly <mistajolly@gmail.com> | 2018-12-03 17:55:57 +0300 |
---|---|---|
committer | Charlie Jolly <mistajolly@gmail.com> | 2018-12-04 01:11:38 +0300 |
commit | 2c19c9b2f646e2b28e3ad399380fe27971fe23d8 (patch) | |
tree | deeb652385f3ce82e396853b70575c87e13f73bd /release/scripts/startup/bl_ui/properties_grease_pencil_common.py | |
parent | f0432e37ab06831167cf84c589fad7d5a28d54ef (diff) |
GP: Draw Mode: Add Arc Primitive
This adds an elliptical arc primitive.
Press CKEY for toggling closed/open arc.
Press FKEY key for flipping arc.
Additional changes to gpencil primitives.
Increases default edges of circle to 64.
Keymap changes to allow primitives to be drawn with Shift or Alt key.
Allow Plus/Minus key to adjust number of edges.
Missing: Toolbar icon
Differential Revision: https://developer.blender.org/D4024
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index eed78ff26ad..5a0c2bd1e43 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -644,6 +644,7 @@ class GPENCIL_MT_gpencil_draw_specials(Menu): layout.operator("gpencil.primitive", text="Line", icon='IPO_CONSTANT').type = 'LINE' layout.operator("gpencil.primitive", text="Rectangle", icon='UV_FACESEL').type = 'BOX' layout.operator("gpencil.primitive", text="Circle", icon='ANTIALIASED').type = 'CIRCLE' + layout.operator("gpencil.primitive", text="Arc", icon='SPHERECURVE').type = 'ARC' class GPENCIL_MT_gpencil_draw_delete(Menu): |