Blender Git Loki

Git Commits -> Revision 8df5e0e

Revision 8df5e0e by Antonio Vazquez (master)
March 4, 2019, 18:40 (GMT)
GPencil: New extrude operator

Keymap: E - Extrude Gizmo supported.

If the extrude points are the first or last of the stroke, the stroke is extended.

If the extrude points are in the middle of the stroke, a new stroke is created because the grease pencil strokes can be only with 2 extremes and fold the stroke to get a new point gets very bad results.

Still pending define a new icon. Also, it could be good to set by default XYZ axis in the gizmo.

Note: There is a change in the transform_gizmo_extrude_3d.c gizmo for OB_MODE_EDIT_GPENCIL. This change must be undo when the mode will be integrated into OB_MODE_EDIT, but while we have both modes, we need to keep this code in order to keep running the gizmo.

Commit Details:

Full Hash: 8df5e0eb66f7f222f182205ff7ff32f765f6cb27
Parent Commit: 937e9b4
Lines Changed: +243, -1

6 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+2, -0) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+12, -0) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+213, -0) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+1, -0) (Diff)
/source/blender/editors/gpencil/gpencil_ops.c (+8, -0) (Diff)
/source/blender/editors/transform/transform_gizmo_extrude_3d.c (+7, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021