mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-18 05:35:55 +08:00
FIX: fix crash when loading 3mf file
jira: none Change-Id: Ice2a518518994871d23a6f478145edd36f0343a2
This commit is contained in:
parent
9b3de1bd3f
commit
b495bfd4e9
@ -4171,8 +4171,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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user