protect against null

This commit is contained in:
Lars Brubaker 2021-05-05 15:13:23 -07:00
parent a67d289529
commit fff8eb6215
4 changed files with 25 additions and 25 deletions

View file

@ -187,11 +187,11 @@ namespace MatterHackers.Plugins.EditorTools
//Object3DControlContext.World.RenderPlane(hitPlane.Plane, Color.Red, true, 50, 3);
//Object3DControlContext.World.RenderPlane(initialHitPosition, hitPlane.Plane.Normal, Color.Red, true, 50, 3);
}
}
if (MouseIsOver || MouseDownOnControl)
{
DrawMeasureLines(e);
if (MouseIsOver || MouseDownOnControl)
{
DrawMeasureLines(e);
}
}
base.Draw(e);