summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-23 19:28:56 +0200
committerGitHub <noreply@github.com>2018-08-23 19:28:56 +0200
commitdf4dadafb70cf07facb86cb2e8a6d345b3d94b82 (patch)
tree3c3f600b965cb3b244d008f36b4e450f3df7d47e /scene
parent524a795d50e2d779aae7ac6b35674149107e5b10 (diff)
parentf344763b583906ebf4ad266ccbdab9dd3427b0da (diff)
Merge pull request #21328 from marcelofg55/bind_clipcam
Add missing BIND_ENUM_CONSTANT to ClippedCamera
Diffstat (limited to 'scene')
-rw-r--r--scene/3d/camera.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/3d/camera.cpp b/scene/3d/camera.cpp
index bcd015875b..a4582b7d7d 100644
--- a/scene/3d/camera.cpp
+++ b/scene/3d/camera.cpp
@@ -867,6 +867,9 @@ void ClippedCamera::_bind_methods() {
ADD_GROUP("Clip To", "clip_to");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "clip_to_areas", PROPERTY_HINT_LAYERS_3D_PHYSICS), "set_clip_to_areas", "is_clip_to_areas_enabled");
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "clip_to_bodies", PROPERTY_HINT_LAYERS_3D_PHYSICS), "set_clip_to_bodies", "is_clip_to_bodies_enabled");
+
+ BIND_ENUM_CONSTANT(CLIP_PROCESS_PHYSICS);
+ BIND_ENUM_CONSTANT(CLIP_PROCESS_IDLE);
}
ClippedCamera::ClippedCamera() {
margin = 0;