Revision: 65583
          http://sourceforge.net/p/brlcad/code/65583
Author:   starseeker
Date:     2015-07-12 00:15:35 +0000 (Sun, 12 Jul 2015)
Log Message:
-----------
Remove uses of brlcad_interp from sketch

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

Modified: brlcad/trunk/src/librt/primitives/sketch/sketch.c
===================================================================
--- brlcad/trunk/src/librt/primitives/sketch/sketch.c   2015-07-12 00:09:47 UTC 
(rev 65582)
+++ brlcad/trunk/src/librt/primitives/sketch/sketch.c   2015-07-12 00:15:35 UTC 
(rev 65583)
@@ -2564,7 +2564,7 @@
        if (BU_STR_EQUAL(argv[0], "V")) {
            newval = skt->V;
            array_len = 3;
-           if (tcl_list_to_fastf_array(brlcad_interp, argv[1], &newval, 
&array_len) !=
+           if (rt_tcl_list_to_fastf_array(argv[1], &newval, &array_len) !=
                array_len) {
                bu_vls_printf(logstr, "ERROR: Incorrect number of coordinates 
for vertex\n");
                return BRLCAD_ERROR;
@@ -2572,7 +2572,7 @@
        } else if (BU_STR_EQUAL(argv[0], "A")) {
            newval = skt->u_vec;
            array_len = 3;
-           if (tcl_list_to_fastf_array(brlcad_interp, argv[1], &newval, 
&array_len) !=
+           if (rt_tcl_list_to_fastf_array(argv[1], &newval, &array_len) !=
                array_len) {
                bu_vls_printf(logstr, "ERROR: Incorrect number of coordinates 
for vertex\n");
                return BRLCAD_ERROR;
@@ -2580,7 +2580,7 @@
        } else if (BU_STR_EQUAL(argv[0], "B")) {
            newval = skt->v_vec;
            array_len = 3;
-           if (tcl_list_to_fastf_array(brlcad_interp, argv[1], &newval, 
&array_len) !=
+           if (rt_tcl_list_to_fastf_array(argv[1], &newval, &array_len) !=
                array_len) {
                bu_vls_printf(logstr, "ERROR: Incorrect number of coordinates 
for vertex\n");
                return BRLCAD_ERROR;
@@ -2605,7 +2605,7 @@
            }
 
            len = 0;
-           (void)tcl_list_to_fastf_array(brlcad_interp, dupstr, &new_verts, 
&len);
+           (void)rt_tcl_list_to_fastf_array(dupstr, &new_verts, &len);
            bu_free(dupstr, "sketch adjust strdup");
 
            if (len%2) {
@@ -2640,7 +2640,7 @@
                return BRLCAD_ERROR;
            }
            array_len = 2;
-           if (tcl_list_to_fastf_array(brlcad_interp, argv[1], &new_vert, 
&array_len) != array_len) {
+           if (rt_tcl_list_to_fastf_array(argv[1], &new_vert, &array_len) != 
array_len) {
                bu_vls_printf(logstr, "ERROR: Incorrect number of coordinates 
for vertex\n");
                return BRLCAD_ERROR;
            }

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


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to