diff options
author | aaronp64 <aaronp.code@gmail.com> | 2024-08-05 11:03:14 -0400 |
---|---|---|
committer | aaronp64 <aaronp.code@gmail.com> | 2024-09-19 11:22:35 -0400 |
commit | 714357e55cf77902cbb41f45f6d75b314b6b2993 (patch) | |
tree | be3e8849b185e7914c940c6e223c480634def778 /servers/rendering/shader_language.cpp | |
parent | 3978628c6cc1227250fc6ed45c8d854d24c30c30 (diff) | |
download | redot-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