You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Update asset library assets only when opening the respective tab
This commit is contained in:
@@ -541,8 +541,12 @@ void EditorAssetLibrary::_notification(int p_what) {
|
|||||||
|
|
||||||
error_hb->add_child(tf);
|
error_hb->add_child(tf);
|
||||||
error_label->raise();
|
error_label->raise();
|
||||||
|
}
|
||||||
|
|
||||||
_repository_changed(0);
|
if (p_what==NOTIFICATION_VISIBILITY_CHANGED) {
|
||||||
|
if(!is_hidden()) {
|
||||||
|
_repository_changed(0); // Update when shown for the first time
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p_what==NOTIFICATION_PROCESS) {
|
if (p_what==NOTIFICATION_PROCESS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user