Fix ShaderGlobalsOverride property handling

This commit is contained in:
bitsawer 2023-09-22 10:11:43 +03:00
parent fe5b1c8d49
commit 71e32364ee

View File

@ -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);
}
}