Revision: 54466
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54466&view=rev
Author:   bob1961
Date:     2013-02-22 11:28:42 +0000 (Fri, 22 Feb 2013)
Log Message:
-----------
Update the "get" and "adjust" commands for ebm to accept the use of "file" in 
place of the "F" attribute name.

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/ebm/ebm.c

Modified: brlcad/trunk/src/librt/primitives/ebm/ebm.c
===================================================================
--- brlcad/trunk/src/librt/primitives/ebm/ebm.c 2013-02-21 22:21:56 UTC (rev 
54465)
+++ brlcad/trunk/src/librt/primitives/ebm/ebm.c 2013-02-22 11:28:42 UTC (rev 
54466)
@@ -1601,7 +1601,7 @@
        for (i=0; i<16; i++)
            bu_vls_printf(logstr, " %.25g", ebm->mat[i]);
        bu_vls_printf(logstr, " }");
-    } else if (BU_STR_EQUAL(attr, "F")) {
+    } else if (BU_STR_EQUAL(attr, "F") || BU_STR_EQUAL(attr, "file")) {
        bu_vls_printf(logstr, "%s", ebm->file);
     } else if (BU_STR_EQUAL(attr, "W")) {
        bu_vls_printf(logstr, "%zu", ebm->xdim);
@@ -1644,7 +1644,7 @@
     RT_EBM_CK_MAGIC(ebm);
 
     while (argc >= 2) {
-       if (BU_STR_EQUAL(argv[0], "F")) {
+       if (BU_STR_EQUAL(argv[0], "F") || BU_STR_EQUAL(argv[0], "file")) {
            if (strlen(argv[1]) >= RT_EBM_NAME_LEN) {
                bu_vls_printf(logstr, "ERROR: File name too long");
                return BRLCAD_ERROR;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to