Revision: 45745
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45745&view=rev
Author:   r_weiss
Date:     2011-08-01 20:22:33 +0000 (Mon, 01 Aug 2011)

Log Message:
-----------
Updated the prototype version of function 'cut_unimonotone' within file 
'nmg_tri.c'. This change adds a check for null edgeuse. This prototype function 
supports the prototype version of 'nmg_triangulate_fu'. These changes are 
disabled by default. These changes are a work in progress.

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/nmg/nmg_tri.c

Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_tri.c
===================================================================
--- brlcad/trunk/src/librt/primitives/nmg/nmg_tri.c     2011-08-01 20:09:32 UTC 
(rev 45744)
+++ brlcad/trunk/src/librt/primitives/nmg/nmg_tri.c     2011-08-01 20:22:33 UTC 
(rev 45745)
@@ -3446,6 +3446,11 @@
                 continue;
             }
 
+            if (pt->vu_p->up.eu_p == (struct edgeuse *)NULL) {
+                /* skip tbl2d entries with a null edgeuse */
+                continue;
+            }
+
             NMG_CK_EDGEUSE(pt->vu_p->up.eu_p);
             NMG_CK_LOOPUSE(pt->vu_p->up.eu_p->up.lu_p);
 


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

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to