diff --git a/scene/3d/light.cpp b/scene/3d/light.cpp index 240bd631a13..752e5ddc59e 100644 --- a/scene/3d/light.cpp +++ b/scene/3d/light.cpp @@ -172,7 +172,8 @@ void Light::_update_visibility() { } #endif - //VS::get_singleton()->instance_light_set_enabled(get_instance(),is_visible_in_tree() && editor_ok); + VS::get_singleton()->instance_set_visible(get_instance(), is_visible_in_tree() && editor_ok); + _change_notify("geometry/visible"); }