FIX: fix Generic 3mf upload failed

Jira: XXXX

Change-Id: I4718ed9fa363ff016ebe2c7976beb5e3863353d2
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
This commit is contained in:
maosheng.wei 2023-10-18 10:31:24 +08:00 committed by Lane.Wei
parent 43f0d89718
commit 931343f071
1 changed files with 2 additions and 1 deletions

View File

@ -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>{(boost::uint32_t) volume_id} << COMPONENT_UUID_SUFFIX;
if (m_production_ext)
stream << "\" " << PUUID_ATTR << "=\"" << hex_wrap<boost::uint32_t>{(boost::uint32_t) volume_id} << COMPONENT_UUID_SUFFIX;
const Transform3d &transf = volume->get_matrix();
stream << "\" " << TRANSFORM_ATTR << "=\"";
for (unsigned c = 0; c < 4; ++c) {