mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 16:02:01 +08:00
Fix of #11569: EXCLUDE_OBJECT_DEFINE showing instead of OctoPrint comments
This commit is contained in:
parent
9ca4017a8d
commit
577ba762e3
@ -109,7 +109,7 @@ std::string LabelObjects::all_objects_header() const
|
|||||||
|
|
||||||
out += "\n";
|
out += "\n";
|
||||||
for (const auto& [print_instance, label] : label_data_sorted) {
|
for (const auto& [print_instance, label] : label_data_sorted) {
|
||||||
if (m_flavor == gcfKlipper) {
|
if (m_label_objects_style == LabelObjectsStyle::Firmware && m_flavor == gcfKlipper) {
|
||||||
char buffer[64];
|
char buffer[64];
|
||||||
out += "EXCLUDE_OBJECT_DEFINE NAME=" + label.name;
|
out += "EXCLUDE_OBJECT_DEFINE NAME=" + label.name;
|
||||||
Polygon outline = instance_outline(print_instance);
|
Polygon outline = instance_outline(print_instance);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user