mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Fixed name of the exported project file to respect the object name.
This commit is contained in:
@@ -552,7 +552,7 @@ std::string Model::propose_export_file_name() const
|
||||
for (const ModelObject *model_object : this->objects)
|
||||
for (ModelInstance *model_instance : model_object->instances)
|
||||
if (model_instance->is_printable())
|
||||
return model_object->input_file;
|
||||
return model_object->name.empty() ? model_object->input_file : model_object->name;
|
||||
return std::string();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user