diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-10 23:36:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 23:36:47 +0200 |
commit | 6be11846b491dc28bb15b762f05003fd87a75e61 (patch) | |
tree | 7a0ee6c3efe9a611e5da7234a8c59cf2db2ec7b9 /scene/resources | |
parent | efeb88b102f35a5e10f76b7dd9babd9f108dc474 (diff) | |
parent | fdb6987eb4ff11f47f22edb43efbc00ea888ca02 (diff) |
Merge pull request #21908 from JFonS/fix_18014
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 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(); |