summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2017-10-23 21:27:12 +1100
committerBastiaan Olij <mux213@gmail.com>2017-10-23 21:27:12 +1100
commite72a6644dc9539cba5b1c76b287e9cfc0760fcdd (patch)
treed8b4b0dc2f996a68f123805f910f0145aee024c8
parent07ab60a8d7aeae1f2d70ed47feb637d8bac4dea3 (diff)
Missing binds for SSAOBlur enum caused issues compiling GDNative cpp_bindings
-rw-r--r--scene/resources/environment.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/resources/environment.cpp b/scene/resources/environment.cpp
index 910a2ad2fd..232f690074 100644
--- a/scene/resources/environment.cpp
+++ b/scene/resources/environment.cpp
@@ -1165,6 +1165,11 @@ void Environment::_bind_methods() {
BIND_ENUM_CONSTANT(DOF_BLUR_QUALITY_MEDIUM);
BIND_ENUM_CONSTANT(DOF_BLUR_QUALITY_HIGH);
+ BIND_ENUM_CONSTANT(SSAO_BLUR_DISABLED);
+ BIND_ENUM_CONSTANT(SSAO_BLUR_1x1);
+ BIND_ENUM_CONSTANT(SSAO_BLUR_2x2);
+ BIND_ENUM_CONSTANT(SSAO_BLUR_3x3);
+
BIND_ENUM_CONSTANT(SSAO_QUALITY_LOW);
BIND_ENUM_CONSTANT(SSAO_QUALITY_MEDIUM);
BIND_ENUM_CONSTANT(SSAO_QUALITY_HIGH);