Revision: 42195
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42195&view=rev
Author:   brlcad
Date:     2011-01-13 01:54:48 +0000 (Thu, 13 Jan 2011)

Log Message:
-----------
look for src dir too

Modified Paths:
--------------
    brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl

Modified: brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl   2011-01-13 01:54:35 UTC 
(rev 42194)
+++ brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl   2011-01-13 01:54:48 UTC 
(rev 42195)
@@ -240,7 +240,7 @@
        method Z                   {args}
        method zap                 {args}
 
-       set brlcadDataPath [bu_brlcad_data ""]
+       set brlcadDataPath [bu_brlcad_data "."]
        if {$tcl_platform(platform) != "windows"} {
            set SystemWindowFont Helvetica
            set SystemWindowText black
@@ -823,6 +823,10 @@
     }
 
     set mImgDir [file join $brlcadDataPath tclscripts archer images]
+    if { ![file exists $mImgDir] } {
+       set path [bu_brlcad_data "src"]
+       set mImgDir [file join $path tclscripts archer images]
+    }
 
     if {[llength $args] == 1} {
        set args [lindex $args 0]


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

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to