lixiaojun
2025-03-20 38f973092d1147a70f0f28665ffdeaa326eee3c4
Yw.WinFrmUI.Hydro.L3d.Core/03-helper/Network2dExtensions.cs
@@ -59,7 +59,7 @@
        public static void Hover2d(this NetworkL3d nw, Ray3 ray, BoundingBox32dCacheHelper bxcache)
        {
            nw.Visuals.ForEach(x => x.IsHovered = false);
            var visual = ray.CastingClosest(nw, bxcache);
            var visual = ray.CastingClosest2(nw, bxcache);
            if (visual != null)
            {
                visual.IsHovered = true;
@@ -72,7 +72,7 @@
        public static void Select2d(this NetworkL3d nw, Ray3 ray, BoundingBox32dCacheHelper bxcache)
        {
            nw.Visuals.ForEach(x => x.IsSelected = false);
            var visual = ray.CastingClosest(nw, bxcache);
            var visual = ray.CastingClosest2(nw, bxcache);
            if (visual != null)
            {
                visual.IsSelected = true;