Adding sliders to all primitives
This commit is contained in:
parent
3ac482f5e9
commit
c36d270c92
23 changed files with 205 additions and 56 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue