Fix tile atlas merging crash
This commit is contained in:
parent
9c960a8c24
commit
56251cf08c
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue