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

@ -200,12 +200,12 @@ 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 (shouldDrawScaleControls
&& (MouseIsOver || MouseDownOnControl))
{
DrawMeasureLines(e);
if (shouldDrawScaleControls
&& (MouseIsOver || MouseDownOnControl))
{
DrawMeasureLines(e);
}
}
base.Draw(e);