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/CMakeLists.txt | |
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/CMakeLists.txt')
-rw-r--r-- | source/blender/draw/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt index 3c25252efe8..47d99963ef9 100644 --- a/source/blender/draw/CMakeLists.txt +++ b/source/blender/draw/CMakeLists.txt @@ -45,6 +45,7 @@ set(INC ../../../intern/glew-mx ../../../intern/guardedalloc ../../../intern/opensubdiv + ../../../intern/clog # dna_type_offsets.h ${CMAKE_CURRENT_BINARY_DIR}/../makesdna/intern |