mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-30 04:40:47 -07:00
FIX: wrong desp for color scheme
jira: STUDIO-11215 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Iaf78c825cbc99a43c4614e20ea9fdc683cf11784 (cherry picked from commit aca4968ab779bbbbe148ca520bc0819bd92f0c03)
This commit is contained in:
parent
14c9f8adf0
commit
1a59af5b2c
1 changed files with 2 additions and 2 deletions
|
|
@ -873,10 +873,10 @@ void GCodeViewer::init(ConfigOptionMode mode, PresetBundle* preset_bundle)
|
|||
|
||||
// set to color print by default if use multi extruders
|
||||
if (m_nozzle_nums > 1) {
|
||||
m_view_type_sel = (int)EViewType::Summary;
|
||||
m_view_type_sel = std::distance(view_type_items.begin(),std::find(view_type_items.begin(), view_type_items.end(), EViewType::Summary));
|
||||
set_view_type(EViewType::Summary);
|
||||
} else {
|
||||
m_view_type_sel = (int)EViewType::ColorPrint;
|
||||
m_view_type_sel = std::distance(view_type_items.begin(),std::find(view_type_items.begin(), view_type_items.end(), EViewType::ColorPrint));
|
||||
set_view_type(EViewType::ColorPrint);
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(": finished");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue