ENH:reduce unnecessary filament in obj import

jira: none
Change-Id: I417b889204e4fa6f9dc2860695ef71518a5f6095
(cherry picked from commit bdde293d45de5e90d096e4856dcc6fde671528b3)
This commit is contained in:
zhou.xu
2024-09-04 11:21:49 +08:00
committed by Noisyfox
parent 91cc168e08
commit 480407288d
2 changed files with 27 additions and 3 deletions

View File

@@ -46,6 +46,7 @@ private:
void update_color_icon_and_rgba_sizer(int id, const wxColour &color);
ComboBox* CreateEditorCtrl(wxWindow *parent,int id);
void draw_table();
void update_new_add_final_colors();
void show_sizer(wxSizer *sizer, bool show);
void redraw_part_table();
void deal_approximate_match_btn();
@@ -83,9 +84,11 @@ private:
int m_input_colors_size{0};
std::vector<wxColour> m_colours;//from project and show right
std::vector<int> m_cluster_map_filaments;//show middle
int m_max_filament_index = 0;
std::vector<wxColour> m_cluster_colours;//from_algo and show left
bool m_can_add_filament{true};
std::vector<wxColour> m_new_add_colors;
std::vector<wxColour> m_new_add_final_colors;
//algo result
std::vector<Slic3r::RGBA> m_cluster_colors_from_algo;
std::vector<int> m_cluster_labels_from_algo;