mirror of
https://github.com/godotengine/godot.git
synced 2026-01-08 00:25:01 +03:00
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user