Add simplification GUI
This commit is contained in:
parent
756d2694eb
commit
af526c54f4
12 changed files with 476 additions and 195 deletions
src/slic3r/GUI
|
@ -4,7 +4,6 @@
|
|||
#include "GUI_Factories.hpp"
|
||||
#include "GUI_ObjectManipulation.hpp"
|
||||
#include "GUI_ObjectLayers.hpp"
|
||||
#include "SimplificationDialog.hpp"
|
||||
#include "GUI_App.hpp"
|
||||
#include "I18N.hpp"
|
||||
#include "Plater.hpp"
|
||||
|
@ -3762,13 +3761,8 @@ void ObjectList::fix_through_netfabb()
|
|||
|
||||
void ObjectList::simplify()
|
||||
{
|
||||
int obj_idx, vol_idx;
|
||||
get_selected_item_indexes(obj_idx, vol_idx);
|
||||
|
||||
SimplificationDialog dlg(this);
|
||||
dlg.ShowModal();
|
||||
|
||||
wxGetApp().plater()->simplify(obj_idx, vol_idx);
|
||||
GLGizmosManager& gizmos_mgr = wxGetApp().plater()->canvas3D()->get_gizmos_manager();
|
||||
gizmos_mgr.open_gizmo(GLGizmosManager::EType::Simplify);
|
||||
}
|
||||
|
||||
void ObjectList::update_item_error_icon(const int obj_idx, const int vol_idx) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue