protect against null
This commit is contained in:
parent
a67d289529
commit
fff8eb6215
4 changed files with 25 additions and 25 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue