From f344763b583906ebf4ad266ccbdab9dd3427b0da Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Thu, 23 Aug 2018 13:53:05 -0300 Subject: [PATCH] Add missing BIND_ENUM_CONSTANT to ClippedCamera --- scene/3d/camera.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scene/3d/camera.cpp b/scene/3d/camera.cpp index bcd015875b8..a4582b7d7de 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;