Did not have the scaling position in the right place

updated test as well
This commit is contained in:
LarsBrubaker 2019-01-15 08:31:46 -08:00
parent 16a1a61197
commit 1579632c77
2 changed files with 2 additions and 3 deletions

View file

@ -69,7 +69,6 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
var newCenter = new Vector3(aabb.Center.X, aabb.Center.Y, aabb.MinXYZ.Z);
SourceItem.Translate(-newCenter);
this.Translate(newCenter);
this.ScaleAbout = newCenter;
}
public override bool CanFlatten => true;