Преглед изворни кода

modified: Assets/InfraredProject/WebCamera/Script/ZIM/InfraredLocate/ScreenIdentification.cs

ZIM пре 1 година
родитељ
комит
67539aafe2

+ 1 - 1
Assets/InfraredProject/WebCamera/Script/ZIM/InfraredLocate/ScreenIdentification.cs

@@ -653,7 +653,7 @@ namespace o0.Project
                 var c = quadLines[2].Intersect(quadLines[3], false).Value;
                 var d = quadLines[1].Intersect(quadLines[2], false).Value;
                 quad = new OrdinalQuadrilateral(a, b, c, d);
-                if (!quad.IsInScreen(ScreenLocate.Main.mUVCCameraInfo.Size))
+                if (!quad.IsInScreen(Size))
                     quad = null;
             }
             //if (quad != null && debugImage == null)