mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-22 18:32:16 +00:00
FIX: fix the assemble view display issue when enter firstly
Change-Id: Idf432df9d3bb8eef1d57b08b6d345bc1867fe955
This commit is contained in:
@@ -6478,7 +6478,7 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
|
||||
stream << "\" ";
|
||||
|
||||
stream << OFFSET_ATTR << "=\"";
|
||||
Vec3d ofs2ass = obj->instances[instance_idx]->get_offset_to_assembly();
|
||||
const Vec3d ofs2ass = obj->instances[instance_idx]->get_offset_to_assembly();
|
||||
stream << ofs2ass(0) << " " << ofs2ass(1) << " " << ofs2ass(2);
|
||||
stream << "\" />\n";
|
||||
}
|
||||
|
||||
@@ -1050,7 +1050,7 @@ public:
|
||||
|
||||
// BBS
|
||||
void set_offset_to_assembly(const Vec3d& offset) { m_offset_to_assembly = offset; }
|
||||
Vec3d get_offset_to_assembly() { return m_offset_to_assembly; }
|
||||
Vec3d get_offset_to_assembly() const { return m_offset_to_assembly; }
|
||||
|
||||
const Vec3d& get_offset() const { return m_transformation.get_offset(); }
|
||||
double get_offset(Axis axis) const { return m_transformation.get_offset(axis); }
|
||||
|
||||
Reference in New Issue
Block a user