summaryrefslogtreecommitdiffstats
path: root/scene/main/shader_globals_override.cpp
diff options
context:
space:
mode:
authorbitsawer <sawerduster@gmail.com>2023-09-22 10:11:43 +0300
committerbitsawer <sawerduster@gmail.com>2023-09-22 10:21:20 +0300
commit71e32364ee83ca4d59f505086e2e8c25fea50a22 (patch)
treef2ab940218f006a42cfb2afe643f1a0957b76751 /scene/main/shader_globals_override.cpp
parentfe5b1c8d49313d63fbe91cb7cdf463e10fb86afa (diff)
downloadredot-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.cpp2
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);
}
}