mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
Fixed a possible crash when closing the MMU painting gizmo cause by a non-virtual destructor.
This commit is contained in:
parent
7377fc34ac
commit
b2677f513c
2 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,7 @@ public:
|
|||
: TriangleSelectorGUI(mesh), m_colors(colors) {
|
||||
m_iva_colors = std::vector<GLIndexedVertexArray>(colors.size());
|
||||
}
|
||||
~TriangleSelectorMmuGui() override = default;
|
||||
|
||||
// Render current selection. Transformation matrices are supposed
|
||||
// to be already set.
|
||||
|
@ -26,6 +27,7 @@ class GLGizmoMmuSegmentation : public GLGizmoPainterBase
|
|||
public:
|
||||
GLGizmoMmuSegmentation(GLCanvas3D& parent, const std::string& icon_filename, unsigned int sprite_id)
|
||||
: GLGizmoPainterBase(parent, icon_filename, sprite_id) {}
|
||||
~GLGizmoMmuSegmentation() override = default;
|
||||
|
||||
void render_painter_gizmo() const override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue