Finishing up warning messages for conductive probing

Added support for conductive probing to emulator
spend up rendering a bit (check less bounds)
Refactoring trackball a bit
This commit is contained in:
Lars Brubaker 2022-05-19 13:34:04 -07:00
parent c8ba76182c
commit 338bc0c3dd
8 changed files with 65 additions and 15 deletions

View file

@ -1316,7 +1316,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
// Invoke all item Drawables
foreach (var drawable in itemDrawables)
{
if (drawable.Enabled)
var selectedItemDrawable = drawable as SelectedItemDrawable;
if ((selectedItemDrawable != null && isSelected)
|| (selectedItemDrawable == null && drawable.Enabled))
{
aabbs.Add(drawable.GetWorldspaceAABB(item, isSelected, this.World));
}