Revision: 74248
          http://sourceforge.net/p/brlcad/code/74248
Author:   starseeker
Date:     2019-10-25 22:07:41 +0000 (Fri, 25 Oct 2019)
Log Message:
-----------
Check for the correct max line parameter value.

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/cdt_mesh.cpp

Modified: brlcad/trunk/src/libbrep/cdt_mesh.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt_mesh.cpp       2019-10-25 21:06:56 UTC (rev 
74247)
+++ brlcad/trunk/src/libbrep/cdt_mesh.cpp       2019-10-25 22:07:41 UTC (rev 
74248)
@@ -1855,7 +1855,7 @@
     if ((t < 0 || NEAR_ZERO(t, ON_ZERO_TOLERANCE))) {
        return p.DistanceTo(p1);
     }
-    if ((t > 0 || NEAR_EQUAL(t, 1, ON_ZERO_TOLERANCE))) {
+    if ((t > 1 || NEAR_EQUAL(t, 1, ON_ZERO_TOLERANCE))) {
        return p.DistanceTo(p2);
     }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to