Fix for - Disable/Remove "Sliced Object "*" looks like a logo or a sign

Preferences: Added option "Allow automatically color change"
This commit is contained in:
YuSanka 2022-08-30 14:32:03 +02:00
parent 68b5567267
commit 9bb74d92c7
3 changed files with 10 additions and 1 deletions
src/slic3r/GUI

View file

@ -706,7 +706,8 @@ void Preview::update_layers_slider(const std::vector<double>& layers_z, bool kee
}
// Suggest the auto color change, if model looks like sign
if (m_layers_slider->IsNewPrint())
if (wxGetApp().app_config->get("allow_auto_color_change") == "1" &&
m_layers_slider->IsNewPrint())
{
const Print& print = wxGetApp().plater()->fff_print();