Hollowing gizmo - most of updating now assumes that common data struct is updated properly

This commit is contained in:
Lukas Matena 2020-01-30 14:12:52 +01:00
parent b0aa937215
commit 08dcbd0271
5 changed files with 39 additions and 37 deletions

View file

@ -2208,6 +2208,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
mesh.transform(t.inverse());
GLIndexedVertexArray iva;
iva.load_mesh(mesh);
volume->indexed_vertex_array.release_geometry();
volume->indexed_vertex_array = iva;
volume->finalize_geometry(true);
}