mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 09:02:53 +00:00
Finish porting TriangleMesh->translate
This commit is contained in:
@@ -26,10 +26,14 @@
|
||||
void
|
||||
stl_invalidate_shared_vertices(stl_file *stl)
|
||||
{
|
||||
if (stl->v_indices != NULL)
|
||||
if (stl->v_indices != NULL) {
|
||||
free(stl->v_indices);
|
||||
if (stl->v_shared != NULL)
|
||||
stl->v_indices = NULL;
|
||||
}
|
||||
if (stl->v_shared != NULL) {
|
||||
free(stl->v_shared);
|
||||
stl->v_shared = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user