summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2018-05-08 23:58:27 -0300
committerGitHub <noreply@github.com>2018-05-08 23:58:27 -0300
commitcf4a506cf1327c8233256f7769077dce2a985288 (patch)
treeeb1b80e1c36ce5b2381e005763a07659b9b47559 /modules
parente744d12e568c22d2f260eee15fc9b2cade3dcdd8 (diff)
parente64bbcc4297af70e8e889026b856f9322082b667 (diff)
Merge pull request #18729 from marcelofg55/bind_enums
Fix some enums missing its bind
Diffstat (limited to 'modules')
-rw-r--r--modules/csg/csg_shape.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/csg/csg_shape.cpp b/modules/csg/csg_shape.cpp
index 1f2f12f54d..22bc79ef43 100644
--- a/modules/csg/csg_shape.cpp
+++ b/modules/csg/csg_shape.cpp
@@ -389,9 +389,9 @@ void CSGShape::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "use_collision"), "set_use_collision", "is_using_collision");
ADD_PROPERTY(PropertyInfo(Variant::REAL, "snap", PROPERTY_HINT_RANGE, "0.0001,1,0.001"), "set_snap", "get_snap");
- BIND_CONSTANT(OPERATION_UNION);
- BIND_CONSTANT(OPERATION_INTERSECTION);
- BIND_CONSTANT(OPERATION_SUBTRACTION);
+ BIND_ENUM_CONSTANT(OPERATION_UNION);
+ BIND_ENUM_CONSTANT(OPERATION_INTERSECTION);
+ BIND_ENUM_CONSTANT(OPERATION_SUBTRACTION);
}
CSGShape::CSGShape() {