Making controls more independent

This commit is contained in:
LarsBrubaker 2020-09-12 13:09:17 -07:00
parent 95543966d3
commit 77ec3d5909
43 changed files with 532 additions and 562 deletions

View file

@ -100,7 +100,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
}
}
public void DrawEditor(Object3DControlLayer layer, List<Object3DView> transparentMeshes, DrawEventArgs e, ref bool suppressNormalDraw)
public void DrawEditor(Object3DControlsLayer layer, List<Object3DView> transparentMeshes, DrawEventArgs e, ref bool suppressNormalDraw)
{
if (layer.Scene.SelectedItem != null
&& layer.Scene.SelectedItem.DescendantsAndSelf().Where((i) => i == this).Any())