Fix ShaderGlobalsOverride property handling
(cherry picked from commit 71e32364ee
)
This commit is contained in:
parent
82ad6a3dad
commit
27d47246b5
|
@ -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