Blender Git Loki

Git Commits -> Revision dcf57e3

Revision dcf57e3 by Antonio Vazquez (master)
October 16, 2019, 08:33 (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: dcf57e34f3866bba5ddd9cfdfe858a1a5eedc4c2
Parent Commit: 35a545b
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