Fix tile atlas merging crash

This commit is contained in:
kobewi 2023-02-20 18:22:44 +01:00
parent 9c960a8c24
commit 56251cf08c

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;
}
}