mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-28 11:21:30 +00:00
Configurable default G-code preview view type (#15769)
This commit is contained in:
@@ -224,6 +224,12 @@ void AppConfig::set_defaults()
|
||||
set("preview_dim_previous_layers_brightness", std::to_string(std::max(0, std::min(brightness, 99))));
|
||||
}
|
||||
|
||||
// ORCA: view type the G-code preview opens with. "auto" keeps the automatic choice (Filament for
|
||||
// multi material prints, Line Type for single material ones), "last" restores the view type the user
|
||||
// picked last, any other value is a fixed view type name, see GCodeViewer::view_type_to_config_name().
|
||||
if (get("preview_default_view_type").empty())
|
||||
set("preview_default_view_type", "auto");
|
||||
|
||||
if (get("filaments_area_preferred_count").empty())
|
||||
set("filaments_area_preferred_count", "10");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user