mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Fixed position of newly created modifiers
This commit is contained in:
parent
74f350c84e
commit
34cf541e0d
2 changed files with 7 additions and 3 deletions
|
@ -814,6 +814,7 @@ void ObjectList::load_generic_subobject(const std::string& type_name, const int
|
|||
new_volume->set_type(static_cast<ModelVolume::Type>(type));
|
||||
|
||||
#if ENABLE_MODELVOLUME_TRANSFORM
|
||||
new_volume->set_offset((*m_objects)[obj_idx]->origin_translation + Vec3d(0.0, 0.0, -mesh.stl.stats.min(2)));
|
||||
new_volume->center_geometry();
|
||||
#endif // ENABLE_MODELVOLUME_TRANSFORM
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue