Do not allow to apply reload from disk command to objects whose mesh has been modified after non uniform scale operations
This commit is contained in:
parent
7013f148b5
commit
fecd89fa38
1 changed files with 2 additions and 0 deletions
|
@ -1359,6 +1359,8 @@ void ModelObject::bake_xy_rotation_into_meshes(size_t instance_idx)
|
||||||
model_volume->set_mirror(Vec3d(1., 1., 1.));
|
model_volume->set_mirror(Vec3d(1., 1., 1.));
|
||||||
// Move the reference point of the volume to compensate for the change of the instance trafo.
|
// Move the reference point of the volume to compensate for the change of the instance trafo.
|
||||||
model_volume->set_offset(volume_offset_correction * volume_trafo.get_offset());
|
model_volume->set_offset(volume_offset_correction * volume_trafo.get_offset());
|
||||||
|
// reset the source to disable reload from disk
|
||||||
|
model_volume->source = ModelVolume::Source();
|
||||||
}
|
}
|
||||||
|
|
||||||
this->invalidate_bounding_box();
|
this->invalidate_bounding_box();
|
||||||
|
|
Loading…
Reference in a new issue