mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-08 00:01:09 +00:00
Let Esc and a click on empty space deselect Design feature and body rows
This commit is contained in:
@@ -899,6 +899,11 @@ void DesignCanvas::set_on_solid_selection_changed(std::function<void(int, int, i
|
||||
};
|
||||
}
|
||||
|
||||
void DesignCanvas::set_on_empty_pick(std::function<void()> cb)
|
||||
{
|
||||
m_sketch_tool.on_empty_pick = std::move(cb);
|
||||
}
|
||||
|
||||
void DesignCanvas::select_body(int body)
|
||||
{
|
||||
m_sketch_tool.select_body(body);
|
||||
|
||||
Reference in New Issue
Block a user