Adding sliders to all primitives

This commit is contained in:
LarsBrubaker 2021-09-12 20:23:40 -07:00
parent 3ac482f5e9
commit c36d270c92
23 changed files with 205 additions and 56 deletions

View file

@ -344,7 +344,7 @@ namespace MatterHackers.Plugins.EditorTools
Vector3 GetEdgePosition(IObject3D item, double angle, ObjectSpace.Placement placement)
{
var aabb = item.GetAxisAlignedBoundingBox(item.Matrix.Inverted);
var centerPosition = aabb.Center;
var centerPosition = default(Vector3);
switch (placement)
{
case ObjectSpace.Placement.Bottom: