parent
5c8e340a3f
commit
07c85d3cdf
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue