mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 21:27:52 -06:00
ENH:meshboolean: fix crash and set a warning notification
1.add warning notification 2.fix a crash while delete volume from object_list Change-Id: Iafcbe420dfb4c5d1b324365e6c5160745ad0be3b
This commit is contained in:
parent
e2934516ed
commit
85b44fbe1f
2 changed files with 26 additions and 7 deletions
|
@ -43,12 +43,12 @@ public:
|
|||
void set_src_volume(ModelVolume* mv) {
|
||||
m_src.mv = mv;
|
||||
if (m_src.mv == m_tool.mv)
|
||||
m_tool.mv = nullptr;
|
||||
m_tool.reset();
|
||||
}
|
||||
void set_tool_volume(ModelVolume* mv) {
|
||||
m_tool.mv = mv;
|
||||
if (m_tool.mv == m_src.mv)
|
||||
m_src.mv = nullptr;
|
||||
m_src.reset();
|
||||
}
|
||||
|
||||
bool gizmo_event(SLAGizmoEventType action, const Vec2d& mouse_position, bool shift_down, bool alt_down, bool control_down);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue