aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/light_occluder_2d.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-10 22:20:57 -0300
committerJuan Linietsky2017-01-10 22:20:57 -0300
commit4338c9016347159d9562a5435e4c81afc21a362a (patch)
tree639c27da13718bcdfff64e5f95be4efffa45b576 /scene/2d/light_occluder_2d.cpp
parent80b733a33a56067eb7a067f0f1ce30b6c38275f8 (diff)
downloadgodot-4338c9016347159d9562a5435e4c81afc21a362a.tar.gz
godot-4338c9016347159d9562a5435e4c81afc21a362a.tar.zst
godot-4338c9016347159d9562a5435e4c81afc21a362a.zip
Diffstat (limited to 'scene/2d/light_occluder_2d.cpp')
-rw-r--r--scene/2d/light_occluder_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/light_occluder_2d.cpp b/scene/2d/light_occluder_2d.cpp
index ac2a8d4dc..b7b280d90 100644
--- a/scene/2d/light_occluder_2d.cpp
+++ b/scene/2d/light_occluder_2d.cpp
@@ -235,7 +235,7 @@ void LightOccluder2D::_bind_methods() {
#endif
ADD_PROPERTY( PropertyInfo(Variant::OBJECT,"occluder",PROPERTY_HINT_RESOURCE_TYPE,"OccluderPolygon2D"),_SCS("set_occluder_polygon"),_SCS("get_occluder_polygon"));
- ADD_PROPERTY( PropertyInfo(Variant::INT,"light_mask",PROPERTY_HINT_ALL_FLAGS),_SCS("set_occluder_light_mask"),_SCS("get_occluder_light_mask"));
+ ADD_PROPERTY( PropertyInfo(Variant::INT,"light_mask",PROPERTY_HINT_LAYERS_2D_RENDER),_SCS("set_occluder_light_mask"),_SCS("get_occluder_light_mask"));
}
LightOccluder2D::LightOccluder2D() {