mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 20:15:59 +08:00
Fixing all-enabled sla overwrites after loading older output archive
This commit is contained in:
parent
d51eab637f
commit
78995013be
@ -139,7 +139,7 @@ std::pair<DynamicPrintConfig, ConfigSubstitutions> extract_profile(
|
|||||||
// as output argument then replace it with the readed profile to report
|
// as output argument then replace it with the readed profile to report
|
||||||
// that it was empty.
|
// that it was empty.
|
||||||
profile_use = profile_in.empty() ? profile_out : profile_in;
|
profile_use = profile_in.empty() ? profile_out : profile_in;
|
||||||
profile_out = profile_in;
|
profile_out += std::move(profile_in);
|
||||||
|
|
||||||
return {profile_use, std::move(config_substitutions)};
|
return {profile_use, std::move(config_substitutions)};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user