prevent crash in draw
This commit is contained in:
parent
6cd84f7de4
commit
3c9a9d75f3
1 changed files with 2 additions and 1 deletions
|
|
@ -234,7 +234,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
IntersectInfo info = hitPlane.GetClosestIntersection(mouseEvent3D.MouseRay);
|
||||
|
||||
if (info != null
|
||||
&& selectedItem != null)
|
||||
&& selectedItem != null
|
||||
&& mouseDownSelectedBounds != null)
|
||||
{
|
||||
var delta = info.HitPosition.Z - initialHitPosition.Z;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue