Revision: 41355
http://brlcad.svn.sourceforge.net/brlcad/?rev=41355&view=rev
Author: bob1961
Date: 2010-11-15 19:36:43 +0000 (Mon, 15 Nov 2010)
Log Message:
-----------
Modified combmem_vls_print_member_info by putting braces around object member
names to accommodate possible whitespace in the member names.
Modified Paths:
--------------
brlcad/trunk/src/libged/combmem.c
Modified: brlcad/trunk/src/libged/combmem.c
===================================================================
--- brlcad/trunk/src/libged/combmem.c 2010-11-15 19:35:16 UTC (rev 41354)
+++ brlcad/trunk/src/libged/combmem.c 2010-11-15 19:36:43 UTC (rev 41355)
@@ -285,13 +285,13 @@
switch (etype) {
case ETYPES_ABS:
if (!itp->tr_l.tl_mat) {
- bu_vls_printf(&gedp->ged_result_str, "%c %s 0.0 0.0 0.0 0.0 0.0
0.0 1.0 1.0 1.0 1.0 0.0 0.0 0.0",
+ bu_vls_printf(&gedp->ged_result_str, "%c {%s} 0.0 0.0 0.0 0.0
0.0 0.0 1.0 1.0 1.0 1.0 0.0 0.0 0.0",
op, itp->tr_l.tl_name);
} else {
if (combmem_disassemble_mat(itp->tr_l.tl_mat, &az, &el, &tw,
&tx, &ty, &tz, &sa, &sx, &sy, &sz))
bu_log("Found bad matrix for %s\n", itp->tr_l.tl_name);
- bu_vls_printf(&gedp->ged_result_str, "%c %s %lf %lf %lf %lf %lf
%lf %lf %lf %lf %lf 0.0 0.0 0.0",
+ bu_vls_printf(&gedp->ged_result_str, "%c {%s} %lf %lf %lf %lf
%lf %lf %lf %lf %lf %lf 0.0 0.0 0.0",
op, itp->tr_l.tl_name,
az * bn_radtodeg,
el * bn_radtodeg,
@@ -302,27 +302,27 @@
break;
case ETYPES_REL:
- bu_vls_printf(&gedp->ged_result_str, "%c %s 0.0 0.0 0.0 0.0 0.0 0.0
1.0 1.0 1.0 1.0 0.0 0.0 0.0",
+ bu_vls_printf(&gedp->ged_result_str, "%c {%s} 0.0 0.0 0.0 0.0 0.0
0.0 1.0 1.0 1.0 1.0 0.0 0.0 0.0",
op, itp->tr_l.tl_name);
break;
case ETYPES_ROT_AET:
- bu_vls_printf(&gedp->ged_result_str, "%c %s 0.0 0.0 0.0 0.0 0.0 0.0",
+ bu_vls_printf(&gedp->ged_result_str, "%c {%s} 0.0 0.0 0.0 0.0 0.0
0.0",
op, itp->tr_l.tl_name);
break;
case ETYPES_ROT_XYZ:
- bu_vls_printf(&gedp->ged_result_str, "%c %s 0.0 0.0 0.0 0.0 0.0 0.0",
+ bu_vls_printf(&gedp->ged_result_str, "%c {%s} 0.0 0.0 0.0 0.0 0.0
0.0",
op, itp->tr_l.tl_name);
break;
case ETYPES_ROT_ARBITRARY_AXIS:
- bu_vls_printf(&gedp->ged_result_str, "%c %s 0.0 0.0 0.0 0.0 0.0 0.0
0.0",
+ bu_vls_printf(&gedp->ged_result_str, "%c {%s} 0.0 0.0 0.0 0.0 0.0
0.0 0.0",
op, itp->tr_l.tl_name);
break;
case ETYPES_TRA:
- bu_vls_printf(&gedp->ged_result_str, "%c %s 0.0 0.0 0.0",
+ bu_vls_printf(&gedp->ged_result_str, "%c {%s} 0.0 0.0 0.0",
op, itp->tr_l.tl_name);
break;
case ETYPES_SCA:
- bu_vls_printf(&gedp->ged_result_str, "%c %s 1.0 1.0 1.0 1.0 0.0 0.0
0.0",
+ bu_vls_printf(&gedp->ged_result_str, "%c {%s} 1.0 1.0 1.0 1.0 0.0
0.0 0.0",
op, itp->tr_l.tl_name);
default:
break;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits