mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-06 03:52:58 +00:00
Sharing TriangleMesh objects between the front end (UI) and back end
(background processing)
This commit is contained in:
@@ -388,8 +388,7 @@ void GLGizmoSlaSupports::update_mesh()
|
||||
wxBusyCursor wait;
|
||||
// this way we can use that mesh directly.
|
||||
// This mesh does not account for the possible Z up SLA offset.
|
||||
m_mesh = &m_model_object->volumes.front()->mesh;
|
||||
const_cast<TriangleMesh*>(m_mesh)->require_shared_vertices(); // TriangleMeshSlicer needs this
|
||||
m_mesh = &m_model_object->volumes.front()->mesh();
|
||||
m_its = &m_mesh->its;
|
||||
m_current_mesh_model_id = m_model_object->id();
|
||||
m_editing_mode = false;
|
||||
|
||||
Reference in New Issue
Block a user