mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-18 09:29:05 -07:00
Fix of several issues related to gizmos updating and undo/redo
Common gizmos data cannot be used in on_set_state method Also prevented calling render on empty GLVertexArrays
This commit is contained in:
@@ -49,7 +49,8 @@ void MeshClipper::render_cut()
|
||||
if (! m_triangles_valid)
|
||||
recalculate_triangles();
|
||||
|
||||
m_vertex_array.render();
|
||||
if (m_vertex_array.has_VBOs())
|
||||
m_vertex_array.render();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user