Blender Git Commit Log

Git Commits -> Revision c8844ef

February 7, 2018, 01:36 (GMT)
GP UI - 2D/3D Split: Split out the "Create Shapes" and "DrawingToolsPanel" into separate classes

The 3D/GP Object only used part of the old "DrawingToolsPanel" to
draw the "Shapes" panel, going so far as to use an empty label +
custom draw header function to dynamically change the label.

This commit properly fixes the code here by separating out the code for
the two use cases:
* The GP object case is now handled by a dedicated "GreasePencilCreateShapesPanel"
that only does the "Shapes" stuff
* I've reverted the other case back to the master version, as this is more
suitable for use by all the other 2D editors

Commit Details:

Full Hash: c8844ef24b74db21de24655f39efc8e8ec7c1ea6
Parent Commit: 17fa87a
Lines Changed: +49, -43

2 Modified Paths:

/release/scripts/startup/bl_ui/properties_grease_pencil_common.py (+47, -41) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021