Revision: 69055 http://sourceforge.net/p/brlcad/code/69055 Author: brlcad Date: 2016-10-14 00:45:57 +0000 (Fri, 14 Oct 2016) Log Message: ----------- nmg_r_to_vlist() apparently needs a vlfree list now. lacking an alternative, passing the global.
Modified Paths: -------------- brlcad/trunk/src/conv/jack/g-jack.c brlcad/trunk/src/conv/off/g-off.c brlcad/trunk/src/libged/draw.c Modified: brlcad/trunk/src/conv/jack/g-jack.c =================================================================== --- brlcad/trunk/src/conv/jack/g-jack.c 2016-10-14 00:18:03 UTC (rev 69054) +++ brlcad/trunk/src/conv/jack/g-jack.c 2016-10-14 00:45:57 UTC (rev 69055) @@ -387,7 +387,7 @@ (int)(tsp->ts_mater.ma_color[2] * 255)); /* nmg_pl_r(fp, r); */ BU_LIST_INIT(&vhead); - nmg_r_to_vlist(&vhead, r, 0); + nmg_r_to_vlist(&vhead, r, 0, &RTG.rtg_vlfree); bn_vlist_to_uplot(fp, &vhead); fclose(fp); RT_FREE_VLIST(&vhead); Modified: brlcad/trunk/src/conv/off/g-off.c =================================================================== --- brlcad/trunk/src/conv/off/g-off.c 2016-10-14 00:18:03 UTC (rev 69054) +++ brlcad/trunk/src/conv/off/g-off.c 2016-10-14 00:45:57 UTC (rev 69055) @@ -359,7 +359,7 @@ (int)(tsp->ts_mater.ma_color[2] * 255) ); /* nmg_pl_r( fp, r ); */ BU_LIST_INIT( &vhead ); - nmg_r_to_vlist( &vhead, r, 0 ); + nmg_r_to_vlist(&vhead, r, 0, &RTG.rtg_vlfree); bn_vlist_to_uplot( fp, &vhead ); fclose(fp); if (verbose) bu_log("*** Wrote %s\n", bu_vls_addr(&file)); Modified: brlcad/trunk/src/libged/draw.c =================================================================== --- brlcad/trunk/src/libged/draw.c 2016-10-14 00:18:03 UTC (rev 69054) +++ brlcad/trunk/src/libged/draw.c 2016-10-14 00:45:57 UTC (rev 69055) @@ -543,7 +543,7 @@ if (dgcdp->draw_no_surfaces) { style |= NMG_VLIST_STYLE_NO_SURFACES; } - nmg_r_to_vlist(&vhead, r, style); + nmg_r_to_vlist(&vhead, r, style, &RTG.rtg_vlfree); _ged_drawH_part2(0, &vhead, pathp, tsp, dgcdp); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits