Changed to IComponentObject3D

Fixed a crash in convex hull
Improving path editor widget
Added x only pinch to radial pinch object
This commit is contained in:
MatterHackers 2023-11-12 21:16:03 -08:00
parent 3a0dd553d4
commit c4b58c9d39
13 changed files with 555 additions and 490 deletions

View file

@ -58,7 +58,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
}
// Also convert index expressions in ComponentObjects to their constants
if (item is ComponentObject3D component)
if (item is IComponentObject3D component)
{
for (int i = 0; i < component.SurfacedEditors.Count; i++)
{
@ -105,7 +105,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
// we don't need to rebuild our source object
return false;
}
else if (item.Parent is ComponentObject3D)
else if (item.Parent is IComponentObject3D)
{
return false;
}