Fix problems reloading MeshLibrary
This commit is contained in:
parent
37d1dfef9d
commit
0a4d0506d1
2 changed files with 4 additions and 0 deletions
|
|
@ -2027,6 +2027,9 @@ void EditorNode::_dialog_action(String p_file) {
|
|||
if (err) {
|
||||
show_accept(TTR("Error saving MeshLibrary!"), TTR("OK"));
|
||||
return;
|
||||
} else if (ResourceCache::has(p_file)) {
|
||||
// Make sure MeshLibrary is updated in the editor.
|
||||
ResourceLoader::load(p_file)->reload_from_file();
|
||||
}
|
||||
|
||||
} break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue