diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2022-10-10 02:03:12 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2022-10-10 02:03:12 +0300 |
commit | aaa731a7823a986c37745a9c48b485ce03205593 (patch) | |
tree | afbf2c22654b4602f338fbf153d2ac191479dee6 /source/blender/draw | |
parent | bd2f002e711ccff13a41d1eaf37a098c02d13d4a (diff) |
Partially fix T101702: OSL Shaders with boolean inputs crash
OSL (like Cycles) has no internal boolean type, instead an integer
input can be flagged to be shown as a boolean in the UI.
Cycles reacts to this by creating a boolean socket on the Blender
side, but as a result incorrectly called the boolean overload of the
set function even though the internal type is an integer.
There's another unrelated crash in the GPU viewport shader code that
appears to apply to every OSL node that outputs a shader, and the file
in T101702 triggers both, so this is only a partial fix for the report.
Diffstat (limited to 'source/blender/draw')
0 files changed, 0 insertions, 0 deletions