summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-10 23:36:47 +0200
committerGitHub <noreply@github.com>2018-09-10 23:36:47 +0200
commit6be11846b491dc28bb15b762f05003fd87a75e61 (patch)
tree7a0ee6c3efe9a611e5da7234a8c59cf2db2ec7b9 /scene
parentefeb88b102f35a5e10f76b7dd9babd9f108dc474 (diff)
parentfdb6987eb4ff11f47f22edb43efbc00ea888ca02 (diff)
Merge pull request #21908 from JFonS/fix_18014
Clear cache after reimporting an ArrayMesh
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/mesh.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/mesh.cpp b/scene/resources/mesh.cpp
index c8814aa2c8..e16dad1a38 100644
--- a/scene/resources/mesh.cpp
+++ b/scene/resources/mesh.cpp
@@ -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();