NEW:add "slice error" for double extruder

jira: none
Change-Id: I58e86c33bc91456d42efcc1a0cad003432bb13df
(cherry picked from commit 166a46caa8157e246adfeec591dc13383a47b252)
This commit is contained in:
zhimin.zeng
2024-10-16 10:38:52 +08:00
committed by Noisyfox
parent 78229089bf
commit a1586b348f
4 changed files with 37 additions and 14 deletions

View File

@@ -377,16 +377,6 @@ class GCodeViewer
}
};
// helper to render shells
struct Shells
{
GLVolumeCollection volumes;
bool visible{ false };
//BBS: always load shell when preview
int print_id{ -1 };
int print_modify_count { -1 };
bool previewing{ false };
};
// helper to render extrusion paths
struct Extrusions
@@ -733,11 +723,21 @@ public:
LayerTimeLog,
Count
};
// helper to render shells
struct Shells
{
GLVolumeCollection volumes;
bool visible{false};
// BBS: always load shell when preview
int print_id{-1};
int print_modify_count{-1};
bool previewing{false};
};
//BBS
ConflictResultOpt m_conflict_result;
GCodeCheckResult m_gcode_check_result;
FilamentPrintableResult filament_printable_reuslt;
Shells m_shells;
private:
std::vector<int> m_plater_extruder;
@@ -780,7 +780,7 @@ private:
SequentialView m_sequential_view;
IMSlider* m_moves_slider;
IMSlider* m_layers_slider;
Shells m_shells;
/*BBS GUI refactor, store displayed items in color scheme combobox */
std::vector<EViewType> view_type_items;
std::vector<std::string> view_type_items_str;