Improving subtract object rendering
This commit is contained in:
parent
76c4985111
commit
ac03a4fcfd
16 changed files with 116 additions and 105 deletions
|
|
@ -175,10 +175,9 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
|
|||
|
||||
#endregion // editable properties
|
||||
|
||||
public void DrawEditor(object sender, DrawEventArgs e)
|
||||
public void DrawEditor(InteractionLayer layer, List<Object3DView> transparentMeshes, DrawEventArgs e, ref bool suppressNormalDraw)
|
||||
{
|
||||
if (sender is InteractionLayer layer
|
||||
&& layer.Scene.SelectedItem != null
|
||||
if (layer.Scene.SelectedItem != null
|
||||
&& layer.Scene.SelectedItem.DescendantsAndSelf().Where((i) => i == this).Any())
|
||||
{
|
||||
layer.World.RenderAxis(ScaleAbout, this.WorldMatrix(), 30, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue