Revision: 45545
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45545&view=rev
Author:   brlcad
Date:     2011-07-19 20:52:39 +0000 (Tue, 19 Jul 2011)

Log Message:
-----------
looks like this is calling the wrong function table entry.  it's setting an NMG 
as the object pointer, but was trying to call the ARBN functab.  tripped a bomb 
magic detection.  calling the NMG converter seems to work in a better 
non-crashy way.

Modified Paths:
--------------
    brlcad/trunk/src/proc-db/csgbrep.cpp

Modified: brlcad/trunk/src/proc-db/csgbrep.cpp
===================================================================
--- brlcad/trunk/src/proc-db/csgbrep.cpp        2011-07-19 20:19:54 UTC (rev 
45544)
+++ brlcad/trunk/src/proc-db/csgbrep.cpp        2011-07-19 20:52:39 UTC (rev 
45545)
@@ -259,7 +259,7 @@
     tmp_internal->idb_meth = &rt_functab[ID_ARB8];
     tmp_internal->idb_meth->ft_tessellate(&r, m, tmp_internal, ttol, tol);
     tmp_internal->idb_ptr = (genptr_t)m;
-    tmp_internal->idb_meth = &rt_functab[ID_ARBN];
+    tmp_internal->idb_meth = &rt_functab[ID_NMG];
     tmp_internal->idb_meth->ft_brep(&nmgbrep, tmp_internal, tol);
     const char* nmg_name = "nmg_nurb.s";
     mk_brep(outfp, nmg_name, nmgbrep);


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

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to