mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #73634 from KoBeWi/merged_into_error
Fix tile atlas merging crash
This commit is contained in:
commit
62d4d8bfc6
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: {
|
||||||
_update_texture();
|
if (is_visible()) {
|
||||||
|
_update_texture();
|
||||||
|
}
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue