Make sure the new rotate does not do any translation at all
This commit is contained in:
parent
7b99fbb4bc
commit
7b96a52902
2 changed files with 2 additions and 10 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue