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

@ -1049,7 +1049,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
if (mouseEvent.Button == MouseButtons.Right ||
mouseEvent.Button == MouseButtons.Middle)
{
this.Object3DControlLayer.SuppressUiVolumes = true;
this.Object3DControlLayer.SuppressObject3DControls = true;
}
base.OnMouseDown(mouseEvent);
@ -1067,7 +1067,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
if (!this.Object3DControlLayer.MouseDownOnObject3DControlVolume)
{
this.Object3DControlLayer.SuppressUiVolumes = true;
this.Object3DControlLayer.SuppressObject3DControls = true;
var info = new IntersectInfo();
@ -1429,7 +1429,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
}
}
this.Object3DControlLayer.SuppressUiVolumes = false;
this.Object3DControlLayer.SuppressObject3DControls = false;
CurrentSelectInfo.DownOnPart = false;