GP: Draw Mode: Add Arc Primitive
authorCharlie Jolly <mistajolly@gmail.com>
Mon, 3 Dec 2018 14:55:57 +0000 (14:55 +0000)
committerCharlie Jolly <mistajolly@gmail.com>
Mon, 3 Dec 2018 22:11:38 +0000 (22:11 +0000)
commit2c19c9b2f646e2b28e3ad399380fe27971fe23d8
treedeeb652385f3ce82e396853b70575c87e13f73bd
parentf0432e37ab06831167cf84c589fad7d5a28d54ef
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
release/scripts/presets/keyconfig/keymap_data/blender_default.py
release/scripts/startup/bl_ui/properties_grease_pencil_common.py
release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
release/scripts/startup/bl_ui/space_topbar.py
source/blender/editors/gpencil/gpencil_intern.h
source/blender/editors/gpencil/gpencil_primitive.c