Revision: 71775 http://sourceforge.net/p/brlcad/code/71775 Author: starseeker Date: 2018-09-20 21:16:04 +0000 (Thu, 20 Sep 2018) Log Message: ----------- use the original name, not the new region name, for failed objects in the resume step.
Modified Paths: -------------- brlcad/trunk/src/libged/facetize.c Modified: brlcad/trunk/src/libged/facetize.c =================================================================== --- brlcad/trunk/src/libged/facetize.c 2018-09-20 21:09:43 UTC (rev 71774) +++ brlcad/trunk/src/libged/facetize.c 2018-09-20 21:16:04 UTC (rev 71775) @@ -2104,7 +2104,8 @@ bu_vls_incr(&failed_name, NULL, NULL, &_db_uniq_test, (void *)gedp); for (i = 0; i < BU_PTBL_LEN(ar2); i++) { struct directory *n = (struct directory *)BU_PTBL_GET(ar2, i); - avv[i] = n->d_namep; + const char *oname = bu_avs_get(&rnames, n->d_namep); + avv[i] = oname; } ret = _ged_combadd2(gedp, bu_vls_addr(&failed_name), (int)BU_PTBL_LEN(ar2), avv, 0, DB_OP_UNION, 0, 0, NULL, 0); bu_vls_free(&failed_name); @@ -2126,7 +2127,8 @@ bu_vls_printf(gedp->ged_result_str, "WARNING: %d objects failed:\n", BU_PTBL_LEN(ar2)); for (i = 0; i < BU_PTBL_LEN(ar2); i++) { struct directory *n = (struct directory *)BU_PTBL_GET(ar2, i); - bu_vls_printf(gedp->ged_result_str, " %s\n", n->d_namep); + const char *oname = bu_avs_get(&rnames, n->d_namep); + bu_vls_printf(gedp->ged_result_str, " %s\n", oname); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits