diff options
author | bitsawer <sawerduster@gmail.com> | 2023-09-22 10:11:43 +0300 |
---|---|---|
committer | bitsawer <sawerduster@gmail.com> | 2023-09-22 10:21:20 +0300 |
commit | 71e32364ee83ca4d59f505086e2e8c25fea50a22 (patch) | |
tree | f2ab940218f006a42cfb2afe643f1a0957b76751 /scene/main/shader_globals_override.cpp | |
parent | fe5b1c8d49313d63fbe91cb7cdf463e10fb86afa (diff) | |
download | redot-engine-71e32364ee83ca4d59f505086e2e8c25fea50a22.tar.gz |
Fix ShaderGlobalsOverride property handling
Diffstat (limited to 'scene/main/shader_globals_override.cpp')
-rw-r--r-- | scene/main/shader_globals_override.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/shader_globals_override.cpp b/scene/main/shader_globals_override.cpp index 7fff74e8e1..e3c26c30e2 100644 --- a/scene/main/shader_globals_override.cpp +++ b/scene/main/shader_globals_override.cpp @@ -41,7 +41,7 @@ StringName *ShaderGlobalsOverride::_remap(const StringName &p_name) const { if (p.begins_with("params/")) { String q = p.replace_first("params/", ""); param_remaps[p] = q; - r = param_remaps.getptr(q); + r = param_remaps.getptr(p); } } |