FIX: Color information lost when importing BBS 3mf file

Change-Id: Iebfdead470e1951e145a5745460c531c9a1b2a27
(cherry picked from commit 4c98437bb90c057dfadf1b8f9d07f2d287ff06d0)
This commit is contained in:
zhimin.zeng 2022-08-23 15:26:28 +08:00 committed by Lane.Wei
parent 0ab13a6abb
commit 6631f9eada
2 changed files with 22 additions and 4 deletions

View file

@ -3450,7 +3450,7 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
}
// recreate custom supports, seam and mmu segmentation from previously loaded attribute
if (m_load_config) {
{
volume->supported_facets.reserve(triangles_count);
volume->seam_facets.reserve(triangles_count);
volume->mmu_segmentation_facets.reserve(triangles_count);