Fix editor only lights

(cherry picked from commit 99a097aff2)
This commit is contained in:
JFonS 2018-10-24 16:47:32 +02:00 committed by Rémi Verschelde
parent 5c8e340a3f
commit 07c85d3cdf
1 changed files with 2 additions and 1 deletions

View File

@ -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");
}