You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Fix getting an error message when repeatedly entering and exiting the tree
This commit is contained in:
@@ -338,6 +338,7 @@ void CanvasItem::_notification(int p_what) {
|
||||
}
|
||||
if (window) {
|
||||
window->disconnect(SceneStringNames::get_singleton()->visibility_changed, callable_mp(this, &CanvasItem::_window_visibility_changed));
|
||||
window = nullptr;
|
||||
}
|
||||
global_invalid = true;
|
||||
parent_visible_in_tree = false;
|
||||
|
||||
Reference in New Issue
Block a user