Fix ShaderGlobalsOverride property handling
This commit is contained in:
parent
fe5b1c8d49
commit
71e32364ee
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue