summaryrefslogtreecommitdiffstats
path: root/servers/rendering/shader_language.cpp
diff options
context:
space:
mode:
authoraaronp64 <aaronp.code@gmail.com>2024-08-05 11:03:14 -0400
committeraaronp64 <aaronp.code@gmail.com>2024-09-19 11:22:35 -0400
commit714357e55cf77902cbb41f45f6d75b314b6b2993 (patch)
treebe3e8849b185e7914c940c6e223c480634def778 /servers/rendering/shader_language.cpp
parent3978628c6cc1227250fc6ed45c8d854d24c30c30 (diff)
downloadredot-engine-714357e55cf77902cbb41f45f6d75b314b6b2993.tar.gz
Assign return value on Variant operator failure
Variant operators for String formatting and "in" could result in errors, which would return from validated_evaluate without assigning r_ret. This would cause scripts using the return value from these operators to get results from previously run code. Updated to return the original String value in the String formatting case, and false for "in" when an error occurs.
Diffstat (limited to 'servers/rendering/shader_language.cpp')
0 files changed, 0 insertions, 0 deletions