summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2022-04-12 19:09:29 +0200
committerHendrik Brucker <hendrik.brucker@mail.de>2022-04-12 19:09:29 +0200
commitcf58d23a727e09a4707ba0c87087aa7fa37827c5 (patch)
treec6890dbc79ce1a36b20fa58a380254e3b196ae28 /scene/main
parenta49079947b7ffde28262cc4978cae9bbec24361b (diff)
Add Vector4 to VisualShader
Diffstat (limited to 'scene/main')
-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 9b85e9db38..7c689bd436 100644
--- a/scene/main/shader_globals_override.cpp
+++ b/scene/main/shader_globals_override.cpp
@@ -155,7 +155,7 @@ void ShaderGlobalsOverride::_get_property_list(List<PropertyInfo> *p_list) const
pinfo.type = Variant::VECTOR3;
} break;
case RS::GLOBAL_VAR_TYPE_VEC4: {
- pinfo.type = Variant::PLANE;
+ pinfo.type = Variant::QUATERNION;
} break;
case RS::GLOBAL_VAR_TYPE_RECT2: {
pinfo.type = Variant::RECT2;