Merge pull request #73634 from KoBeWi/merged_into_error

Fix tile atlas merging crash
This commit is contained in:
Rémi Verschelde 2023-02-20 22:46:31 +01:00 committed by GitHub
commit 62d4d8bfc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,7 +245,9 @@ bool AtlasMergingDialog::_get(const StringName &p_name, Variant &r_ret) const {
void AtlasMergingDialog::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_VISIBILITY_CHANGED: {
_update_texture();
if (is_visible()) {
_update_texture();
}
} break;
}
}