diff --git a/EduNetworkBuilder/Network.cs b/EduNetworkBuilder/Network.cs index 21bcd1f..d74abd5 100644 --- a/EduNetworkBuilder/Network.cs +++ b/EduNetworkBuilder/Network.cs @@ -527,6 +527,7 @@ namespace EduNetworkBuilder if (tItem is NetworkDevice) { tDevice = (NetworkDevice)tItem; + if (tDevice.GetNetType() == NetworkComponentType.tree) continue; //Cannot select trees int tsize = tDevice.Size; tPoint = tDevice.myLocation(); if (tPoint.X + tsize >= area.X && tPoint.Y +tsize >= area.Y)