From 931343f071799c82d56056be6af9bf0db017207f Mon Sep 17 00:00:00 2001 From: "maosheng.wei" Date: Wed, 18 Oct 2023 10:31:24 +0800 Subject: [PATCH] FIX: fix Generic 3mf upload failed Jira: XXXX Change-Id: I4718ed9fa363ff016ebe2c7976beb5e3863353d2 Signed-off-by: maosheng.wei --- src/libslic3r/Format/bbs_3mf.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/Format/bbs_3mf.cpp b/src/libslic3r/Format/bbs_3mf.cpp index 8cf644e98..902bfe4fe 100644 --- a/src/libslic3r/Format/bbs_3mf.cpp +++ b/src/libslic3r/Format/bbs_3mf.cpp @@ -6408,7 +6408,8 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result) stream << " <" << COMPONENT_TAG << " objectid=\"" << volume_id; else stream << " <" << COMPONENT_TAG << " p:path=\"" << xml_escape(*ppath) << "\" objectid=\"" << volume_id; // << "\"/>\n"; - stream << "\" " << PUUID_ATTR << "=\"" << hex_wrap{(boost::uint32_t) volume_id} << COMPONENT_UUID_SUFFIX; + if (m_production_ext) + stream << "\" " << PUUID_ATTR << "=\"" << hex_wrap{(boost::uint32_t) volume_id} << COMPONENT_UUID_SUFFIX; const Transform3d &transf = volume->get_matrix(); stream << "\" " << TRANSFORM_ATTR << "=\""; for (unsigned c = 0; c < 4; ++c) {