Revision: 41450
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41450&view=rev
Author:   starseeker
Date:     2010-11-23 19:47:36 +0000 (Tue, 23 Nov 2010)

Log Message:
-----------
OK, the real issue here appears to actually be tclcadAutoPath setting 
tcl_library to something Not Helpful - don't need this, although probably still 
want the logic to probe the system auto_path - just need to find the actual dir 
with init.tcl and have tclcadAutoPath set that straight up.

Modified Paths:
--------------
    brlcad/branches/cmake/src/bwish/main.c

Modified: brlcad/branches/cmake/src/bwish/main.c
===================================================================
--- brlcad/branches/cmake/src/bwish/main.c      2010-11-23 19:22:50 UTC (rev 
41449)
+++ brlcad/branches/cmake/src/bwish/main.c      2010-11-23 19:47:36 UTC (rev 
41450)
@@ -216,17 +216,9 @@
 int
 main(int argc, char **argv)
 {
-    struct bu_vls str;
-    bu_vls_init(&str);
-    bu_vls_printf(&str, "lappend auto_path {%s}", TCL_SYSTEM_AUTO_PATH);
     /* Create the interpreter */
     INTERP = Tcl_CreateInterp();
     Tcl_FindExecutable(argv[0]);
-    if(bu_vls_strlen(&str) > 20) {
-           Tcl_Eval(INTERP, bu_vls_addr(&str));
-           bu_log("Tcl_Eval Result:\n%s\n", Tcl_GetStringResult(INTERP));
-    }
-    bu_vls_free(&str);
     Cad_Main(argc, argv, Cad_AppInit, INTERP);
 
     return 0;


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

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to