Fix ShaderGlobalsOverride property handling

(cherry picked from commit 71e32364ee)
This commit is contained in:
bitsawer 2023-09-22 10:11:43 +03:00 committed by Yuri Sizov
parent 82ad6a3dad
commit 27d47246b5
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ StringName *ShaderGlobalsOverride::_remap(const StringName &p_name) const {
if (p.begins_with("params/")) { if (p.begins_with("params/")) {
String q = p.replace_first("params/", ""); String q = p.replace_first("params/", "");
param_remaps[p] = q; param_remaps[p] = q;
r = param_remaps.getptr(q); r = param_remaps.getptr(p);
} }
} }