Blender Git Loki

Git Commits -> Revision 90baead

Revision 90baead by Antonio Vazquez (master)
August 11, 2020, 13:27 (GMT)
GPencil: Split Primitive operators and add number of points to Topbar

Now the operators are split to define different default values. This is also required for the future Bezier primitive tools.

This allows to show in the Topbar the number of subdivisions. Before this value was totally hidden and it was number of Edges. The wheelmouse can be used to override the value while running, but does not change the default value.

{F8766270}

All operators share same code.

Also, fixed some bad practices done with Toolbar in python.

Reviewed By: mendio, pepeland

Differential Revision: https://developer.blender.org/D8506

Commit Details:

Full Hash: 90baead9792be734d1e5755f8af7c93e8c6717e3
Parent Commit: 344a6a4
Lines Changed: +292, -152

7 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+27, -27) (Diff)
/release/scripts/startup/bl_ui/properties_paint_common.py (+39, -0) (Diff)
/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py (+53, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+5, -48) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+7, -1) (Diff)
/source/blender/editors/gpencil/gpencil_ops.c (+5, -1) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+156, -75) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021