Blender Git Loki

Git Commits -> Revision 2553910

October 18, 2019, 12:43 (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: 2553910ab72ee22e4bce27c9f970698d373a13e2
Parent Commit: f66041a
Committed By: YimingWu
Lines Changed: +59, -16

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021