You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Merge pull request #21908 from JFonS/fix_18014
Clear cache after reimporting an ArrayMesh
This commit is contained in:
@@ -1378,6 +1378,7 @@ void ArrayMesh::reload_from_file() {
|
|||||||
VisualServer::get_singleton()->mesh_clear(mesh);
|
VisualServer::get_singleton()->mesh_clear(mesh);
|
||||||
surfaces.clear();
|
surfaces.clear();
|
||||||
clear_blend_shapes();
|
clear_blend_shapes();
|
||||||
|
clear_cache();
|
||||||
|
|
||||||
Resource::reload_from_file();
|
Resource::reload_from_file();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user