Blender Git Commit Log

Git Commits -> Revision 5368505

Revision 5368505 by Joshua Leung (GPencil_Editing_Stage3)
December 10, 2015, 06:11 (GMT)
GPencil Layer Management: Lock/Unlock All + Isolate Layer

This commit introduces a few operators to make it easier to perform a few common
layer-manipulation operations. Some of these have been sorely needed for quite
a while now...

* Lock/Unlock All - Just as their names suggest, these operators will lock and unlock
all layers in the GP datablock. This is a quick way to unlock all layers previously
locked. These can be found in the new dropdown which replaces the old "Duplicate"
below the +/- (for adding/removing layers); also featured in the dropdown are
the "Duplicate Layers" operator, as well as the show/hide ones.

* Isolate Layer - This operator makes it easy to focus on just a single layer (e.g. the
outlines for a particular character). The "star" button affects editability, while the
"eye" below it toggles editability + visibility.

If any layer is visible/unlocked, this operator will lock and/or hide all; otherwise,
it will unlock/unhide all (to reverse the previous operation).

Commit Details:

Full Hash: 5368505ef32b39c1c12e1090bf69f25de78f959f
Parent Commit: dda03a2
Lines Changed: +184, -1

4 Modified Paths:

/release/scripts/startup/bl_ui/properties_grease_pencil_common.py (+26, -1) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+150, -0) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+5, -0) (Diff)
/source/blender/editors/gpencil/gpencil_ops.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021