mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-02 05:50:37 +08:00
Follow-up of 33aa6be7b7f3d8b81d6b948f9bd6841db10b61cf -> Validation of custom g-code added using vertical slider in preview at gcode generation level
This commit is contained in:
parent
6f5bf71f11
commit
1e33b95ed7
@ -667,6 +667,14 @@ namespace DoExport {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (ret.size() < MAX_TAGS_COUNT) {
|
||||||
|
const CustomGCode::Info& custom_gcode_per_print_z = print.model().custom_gcode_per_print_z;
|
||||||
|
for (const auto& gcode : custom_gcode_per_print_z.gcodes) {
|
||||||
|
check(_(L("Custom G-code")), gcode.extra);
|
||||||
|
if (ret.size() == MAX_TAGS_COUNT)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user