diff options
author | JFonS <joan.fonssanchez@gmail.com> | 2018-09-09 20:52:43 +0200 |
---|---|---|
committer | JFonS <joan.fonssanchez@gmail.com> | 2018-09-09 20:58:15 +0200 |
commit | fdb6987eb4ff11f47f22edb43efbc00ea888ca02 (patch) | |
tree | 567e23b93ba6c5bab70331cbb20e44c8a602bd18 /scene/resources | |
parent | 1093c0ff51b980634dffdd9618eaa53061da6419 (diff) |
Clear cache after reimporting an ArrayMesh
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/mesh.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/mesh.cpp b/scene/resources/mesh.cpp index e6ef956dc5..369712fa2b 100644 --- a/scene/resources/mesh.cpp +++ b/scene/resources/mesh.cpp @@ -1375,6 +1375,7 @@ void ArrayMesh::reload_from_file() { VisualServer::get_singleton()->mesh_clear(mesh); surfaces.clear(); clear_blend_shapes(); + clear_cache(); Resource::reload_from_file(); |