Make sure the new rotate does not do any translation at all

This commit is contained in:
LarsBrubaker 2018-07-05 21:49:03 -07:00
parent 7b99fbb4bc
commit 7b96a52902
2 changed files with 2 additions and 10 deletions

View file

@ -85,16 +85,8 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
using (RebuildLock())
{
var startingAabb = this.GetAxisAlignedBoundingBox();
// remove the current rotation
// set the matrix for the inner object
TransformItem.Matrix = RotationMatrix;
if (startingAabb.ZSize > 0)
{
// If the part was already created and at a height, maintain the height.
PlatingHelper.PlaceMeshAtHeight(this, startingAabb.minXYZ.Z);
}
}
Invalidate(new InvalidateArgs(this, InvalidateType.Matrix, null));