mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
FIX: fix crash when loading 3mf file
jira: none Change-Id: Ice2a518518994871d23a6f478145edd36f0343a2 (cherry picked from commit b495bfd4e9dbdc11bc4e5e4146abfd0bdca137bc)
This commit is contained in:
@@ -4235,8 +4235,8 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
|
||||
m_curr_plater->config.set_key_value("filament_map_mode", new ConfigOptionEnum<FilamentMapMode>(map_mode));
|
||||
}
|
||||
else if (key == FILAMENT_MAP_ATTR) {
|
||||
|
||||
m_curr_plater->config.set_key_value("filament_map", new ConfigOptionInts(get_vector_from_string(value)));
|
||||
if (m_curr_plater)
|
||||
m_curr_plater->config.set_key_value("filament_map", new ConfigOptionInts(get_vector_from_string(value)));
|
||||
}
|
||||
else if (key == UNPRINTABLE_FILAMENT_MAP_ATTR)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user