Blender Git Loki

Git Commits -> Revision 79fd1e3

November 11, 2019, 17:04 (GMT)
GPencil: Fix unreported problem when use Onion Skin in several windows

The onion skin was nos displayed in secondary screens when disable the Onion switch or the Overlay in the main window.

Added a check to verify if the main overlay and onion switches are enabled in any screen in order to generate the cache data.

This is required to generate the onion skin and limit the times the cache is updated because the cache is generated only in the first screen and if the first screen has the onion disabled the cache for onion skin is not generated. The loop adds time, but always is faster than regenerate the cache all the times.

Reviewed By: mendio, pepeland

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

Commit Details:

Full Hash: 79fd1e375144b5499c319e3ea69b3ba67207d1b8
Parent Commit: d367573
Committed By: Germano Cavalcante
Lines Changed: +59, -16

4 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+6, -14) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+44, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+7, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021