Did not have the scaling position in the right place
updated test as well
This commit is contained in:
parent
16a1a61197
commit
1579632c77
2 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue