Refactoring to use ITraceable preferentially to IPrimitive

This commit is contained in:
LarsBrubaker 2020-09-12 09:51:43 -07:00
parent 52df1380a7
commit 6e682494de
16 changed files with 145 additions and 128 deletions

View file

@ -614,10 +614,10 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
foreach (var item in this.Object3DControls.OfType<IObject3DControl>())
{
item.Visible = !SuppressUiVolumes;
item.Visible = !SuppressObject3DControls;
}
if (SuppressUiVolumes)
if (SuppressObject3DControls)
{
return;
}