diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-10-16 11:29:18 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-10-16 11:33:39 +0300 |
commit | dcf57e34f3866bba5ddd9cfdfe858a1a5eedc4c2 (patch) | |
tree | 3403490add7d545995301f5e3b26bcf036a689e4 /source/blender/makesrna/intern/rna_curve.c | |
parent | 35a545b752319833f8a231ea4ebbb46fc2650515 (diff) |
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
Diffstat (limited to 'source/blender/makesrna/intern/rna_curve.c')
0 files changed, 0 insertions, 0 deletions