mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 22:26:01 +08:00
Fixed a save to 3mf: Added a check if cut information have to be saved to 3mf
This commit is contained in:
parent
0ed47616f9
commit
dcf5889cfa
@ -2958,6 +2958,8 @@ namespace Slic3r {
|
|||||||
|
|
||||||
unsigned int object_cnt = 0;
|
unsigned int object_cnt = 0;
|
||||||
for (const ModelObject* object : model.objects) {
|
for (const ModelObject* object : model.objects) {
|
||||||
|
if (!object->is_cut())
|
||||||
|
continue;
|
||||||
object_cnt++;
|
object_cnt++;
|
||||||
pt::ptree& obj_tree = tree.add("objects.object", "");
|
pt::ptree& obj_tree = tree.add("objects.object", "");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user