fixed crash

This commit is contained in:
LarsBrubaker 2020-05-23 17:05:10 -07:00
parent 70ba624c40
commit 0c53db05b6

View file

@ -268,7 +268,7 @@ namespace MatterHackers.Plugins.EditorTools
yValueDisplayInfo.Visible = false;
}
if (MouseDownOnControl)
if (MouseDownOnControl && hitPlane != null)
{
IntersectInfo info = hitPlane.GetClosestIntersection(mouseEvent3D.MouseRay);