Blender Git Commit Log

Git Commits -> Revision e9ae8a3

October 14, 2014, 13:03 (GMT)
GP Onion Skinning: Custom before/after colours and ranges

It is now possible to set different colors for ghosts "before" and "after" the
current frame, and to separately control how many are displayed on each side.

To use custom colors, it is necessary to firstly toggle the color-wheel icon-toggle
(located beside the Onion Skinning) checkbox. This will make both before and after
strokes get drawn using custom colors. I tried having separate toggles, but that
was too clumsy.


TODO:
* Some version-patching code will be needed to initialise the colours and fields
so that they work when loading old files. I've reused the old field for the
"before" range, so that at least something will be usable there.
* Some code cleanup is in order to make this code a bit nicer

Commit Details:

Full Hash: e9ae8a382faa5ee2e688ad865d95429643df16bd
Parent Commit: 5de47a3
Lines Changed: +108, -30

4 Modified Paths:

/release/scripts/startup/bl_ui/properties_grease_pencil_common.py (+24, -6) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+39, -15) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+13, -4) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+32, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021