Revision: 73911
          http://sourceforge.net/p/brlcad/code/73911
Author:   starseeker
Date:     2019-09-12 18:19:23 +0000 (Thu, 12 Sep 2019)
Log Message:
-----------
If there are only two triangles at the singularity, both of them are edge 
triangles (i.e. each of them shares two edge points with another face.  A basic 
flip should be enough...

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-09-12 18:11:16 UTC (rev 
73910)
+++ brlcad/trunk/src/libbrep/cdt_mesh.cpp       2019-09-12 18:19:23 UTC (rev 
73911)
@@ -2713,7 +2713,7 @@
 
     if (has_singularities) {
        std::vector<triangle_t> s_tris = this->singularity_triangles();
-       if (s_tris.size() > 1) {
+       if (s_tris.size() > 2) {
            seed_tris.insert(s_tris.begin(), s_tris.end());
 
            st_size = seed_tris.size();

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