Revision: 55640
http://sourceforge.net/p/brlcad/code/55640
Author: carlmoore
Date: 2013-06-03 18:10:12 +0000 (Mon, 03 Jun 2013)
Log Message:
-----------
provide solid_name in fixing warning messages
Modified Paths:
--------------
brlcad/trunk/src/liboptical/sh_treetherm.c
Modified: brlcad/trunk/src/liboptical/sh_treetherm.c
===================================================================
--- brlcad/trunk/src/liboptical/sh_treetherm.c 2013-06-03 17:08:17 UTC (rev
55639)
+++ brlcad/trunk/src/liboptical/sh_treetherm.c 2013-06-03 18:10:12 UTC (rev
55640)
@@ -543,6 +543,7 @@
register struct tthrm_specific *tthrm_sp =
(struct tthrm_specific *)dp;
struct rt_part_internal *part_p;
+ char *solid_name;
point_t pt;
vect_t pt_v;
@@ -554,6 +555,8 @@
double Vdot;
int node;
+ solid_name = pp->pt_inseg->seg_stp->st_dp->d_namep;
+
/* check the validity of the arguments we got */
RT_AP_CHECK(ap);
RT_CHECK_PT(pp);
@@ -574,7 +577,7 @@
if (solid_number > tthrm_sp->tt_max_seg) {
bu_log("%s:%d solid name %s has solid number higher than %ld\n",
- __FILE__, __LINE__, tthrm_sp->tt_max_seg);
+ __FILE__, __LINE__, solid_name, tthrm_sp->tt_max_seg);
bu_bomb("Choke! ack! gasp! wheeeeeeze.\n");
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits