diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-02-01 10:38:34 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-02-01 10:38:34 +0300 |
commit | 146618fb221ebe1f008a0dd1ed05a0fc5ba935da (patch) | |
tree | 2b42be526f1e4e84fbc8351f022968c6791a6528 /source/blender/draw/intern/draw_shader.c | |
parent | c8814fb6103f2e028c857872f4f0eb613ef75db9 (diff) |
Fix T95376: Fix crash when switching to UV workspace.
Can also happen in other places when the overlay engine is active. Some
parts of the overlay engine uses builtin shaders, but disable the color
space conversion to the target texture.
Currently there the overlay engine has its own set of libraries it could
include and defined a macro to pass-throught the color space conversion.
The library include mechanism currently fails when it couldn't find the
builtin library in the libraries of the overlay engine. This only
happened in debug mode.
This change will not fail, but warns the developer if a library could
not be included. In the future this should be replaced by a different
mechanism that can disable the builtin library. See {T95382}.
Diffstat (limited to 'source/blender/draw/intern/draw_shader.c')
0 files changed, 0 insertions, 0 deletions