mirror of
https://github.com/godotengine/godot.git
synced 2025-02-17 22:43:01 +08:00
Merge pull request #21908 from JFonS/fix_18014
Clear cache after reimporting an ArrayMesh
This commit is contained in:
commit
6be11846b4
@ -1378,6 +1378,7 @@ void ArrayMesh::reload_from_file() {
|
||||
VisualServer::get_singleton()->mesh_clear(mesh);
|
||||
surfaces.clear();
|
||||
clear_blend_shapes();
|
||||
clear_cache();
|
||||
|
||||
Resource::reload_from_file();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user