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) {
|
void AtlasMergingDialog::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||||
|
if (is_visible()) {
|
||||||
_update_texture();
|
_update_texture();
|
||||||
|
}
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue