summaryrefslogtreecommitdiffstats
path: root/scene/2d/light_occluder_2d.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-12 20:35:46 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-12 20:35:46 -0300
commita2903fc51d1d20eba4dc451bdacbe477d6670163 (patch)
treebbcac01f2c30ca1e104b11321e5c7a6930f51e59 /scene/2d/light_occluder_2d.cpp
parentda477b76a98ee7ca4ac16773d3baf1299e053da7 (diff)
downloadredot-engine-a2903fc51d1d20eba4dc451bdacbe477d6670163.tar.gz
Must now register with set_transform_notify() to get NOTIFICATION_TRANSFORM_CHANGED
Diffstat (limited to 'scene/2d/light_occluder_2d.cpp')
-rw-r--r--scene/2d/light_occluder_2d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/light_occluder_2d.cpp b/scene/2d/light_occluder_2d.cpp
index 8d447c3e8b..a9e654e699 100644
--- a/scene/2d/light_occluder_2d.cpp
+++ b/scene/2d/light_occluder_2d.cpp
@@ -242,6 +242,7 @@ LightOccluder2D::LightOccluder2D() {
occluder=VS::get_singleton()->canvas_light_occluder_create();
mask=1;
+ set_notify_transform(true);
}
LightOccluder2D::~LightOccluder2D() {