mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
Always clear existing facets first if not kept
This commit is contained in:
@@ -1997,6 +1997,10 @@ std::optional<TriangleSelector::SavedPainting> ModelVolume::save_painting() cons
|
||||
|
||||
void ModelVolume::restore_painting(const std::optional<TriangleSelector::SavedPainting>& saved, const bool keep_existing_paint)
|
||||
{
|
||||
if (!keep_existing_paint) {
|
||||
reset_extra_facets();
|
||||
}
|
||||
|
||||
if (!saved) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user