FIX: modify the text position
Change-Id: Id0d23b0d15d57a0cbc8eb5c9eb0e685d600f31eb (cherry picked from commit bf229251c758279be8876756576257fd609b44dd)
This commit is contained in:
parent
687476bc27
commit
7b437d4f58
1 changed files with 1 additions and 1 deletions
|
@ -2076,7 +2076,7 @@ void ObjectList::load_mesh_part(const TriangleMesh& mesh, const wxString& name,
|
|||
|
||||
ModelVolume* mv = mo->add_volume(mesh);
|
||||
Vec3d instance_bbox = mo->mesh().bounding_box().size();
|
||||
Vec3d offset = mv->get_offset() + Vec3d(0, 0, instance_bbox[2] / 2);
|
||||
Vec3d offset = Vec3d(0, 0, instance_bbox[2] / 2);
|
||||
mv->set_offset(offset);
|
||||
mv->name = name.ToStdString();
|
||||
|
||||
|
|
Loading…
Reference in a new issue