[brlcad-commits] SF.net SVN: brlcad:[37504] brlcad/trunk/src/librt/primitives/metaball/ metaball_tr
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <eri...@us...> - 2010-01-29 23:02:05
|
Revision: 37504 http://brlcad.svn.sourceforge.net/brlcad/?rev=37504&view=rev Author: erikgreenwald Date: 2010-01-29 23:01:56 +0000 (Fri, 29 Jan 2010) Log Message: ----------- move region generation into timed segment. attempt to fix normals. Modified Paths: -------------- brlcad/trunk/src/librt/primitives/metaball/metaball_tri.c Modified: brlcad/trunk/src/librt/primitives/metaball/metaball_tri.c =================================================================== --- brlcad/trunk/src/librt/primitives/metaball/metaball_tri.c 2010-01-29 23:01:55 UTC (rev 37503) +++ brlcad/trunk/src/librt/primitives/metaball/metaball_tri.c 2010-01-29 23:01:56 UTC (rev 37504) @@ -170,12 +170,14 @@ } } + nmg_mark_edges_real(&s->l.magic); + nmg_region_a(*r, tol); + + nmg_fix_normals(s, tol); + rt_get_timer(×, NULL); bu_log("metaball tesselate (%d triangles): %s\n", numtri, bu_vls_addr(×)); - nmg_mark_edges_real(&s->l.magic); - nmg_region_a(*r, tol); /* this causes a bus error trying to dereference some magic shtuff */ - return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |