Object merge: fixed merge of the objects with changed rotation, scale and mirror

+ Fixed get_object_stl_stats()
This commit is contained in:
YuSanka 2020-06-04 23:17:21 +02:00
parent 4f63095d9a
commit 530786fca4
2 changed files with 32 additions and 20 deletions

View file

@ -1480,9 +1480,6 @@ stl_stats ModelObject::get_object_stl_stats() const
// fill full_stats from all objet's meshes
for (ModelVolume* volume : this->volumes)
{
if (volume->id() == this->volumes[0]->id())
continue;
const stl_stats& stats = volume->mesh().stl.stats;
// initialize full_stats (for repaired errors)