mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 04:37:52 -06:00
FIX: [STUDIO-2425] default filament color
Change-Id: I85871885e5e6976e6479410a93a5f14ccd61a8cd
This commit is contained in:
parent
670114c1b3
commit
89fc178dd0
1 changed files with 1 additions and 1 deletions
|
@ -1306,7 +1306,7 @@ void PresetBundle::load_selections(AppConfig &config, const PresetPreferences& p
|
||||||
if (config.has("presets", "filament_colors")) {
|
if (config.has("presets", "filament_colors")) {
|
||||||
boost::algorithm::split(filament_colors, config.get("presets", "filament_colors"), boost::algorithm::is_any_of(","));
|
boost::algorithm::split(filament_colors, config.get("presets", "filament_colors"), boost::algorithm::is_any_of(","));
|
||||||
}
|
}
|
||||||
filament_colors.resize(filament_presets.size());
|
filament_colors.resize(filament_presets.size(), "#00AE42");
|
||||||
project_config.option<ConfigOptionStrings>("filament_colour")->values = filament_colors;
|
project_config.option<ConfigOptionStrings>("filament_colour")->values = filament_colors;
|
||||||
std::vector<std::string> matrix;
|
std::vector<std::string> matrix;
|
||||||
if (config.has("presets", "flush_volumes_matrix")) {
|
if (config.has("presets", "flush_volumes_matrix")) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue