Revision: 78012
http://sourceforge.net/p/brlcad/code/78012
Author: starseeker
Date: 2020-12-18 23:23:54 +0000 (Fri, 18 Dec 2020)
Log Message:
-----------
More Tcl bu_brlcad_root -> bu_dir updates
Modified Paths:
--------------
brlcad/trunk/src/tclscripts/geometree/GeometryBrowser.tcl
brlcad/trunk/src/tclscripts/igraph/GraphEditor.tcl
brlcad/trunk/src/tclscripts/man_browser.tcl
Modified: brlcad/trunk/src/tclscripts/geometree/GeometryBrowser.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/geometree/GeometryBrowser.tcl 2020-12-18
23:19:36 UTC (rev 78011)
+++ brlcad/trunk/src/tclscripts/geometree/GeometryBrowser.tcl 2020-12-18
23:23:54 UTC (rev 78012)
@@ -475,7 +475,7 @@
# destroy the framebuffer, if we opened it
if { $_weStartedFbserv } {
puts "cleaning up fbserv"
- set fbfree [file join [bu_brlcad_root "bin"] fbfree]
+ set fbfree [file join [bu_dir bin] fbfree]
if { [ catch { exec $fbfree -F $_fbservPort } error ] } {
puts $error
puts "Unable to properly clean up after our fbserv"
@@ -956,10 +956,10 @@
set device /dev/X
set rgb "255 255 255"
set rtrun ""
- set fbserv [file join [bu_brlcad_root "bin"] fbserv]
- set fbfree [file join [bu_brlcad_root "bin"] fbfree]
- set fbline [file join [bu_brlcad_root "bin"] fbline]
- set fbclear [file join [bu_brlcad_root "bin"] fbclear]
+ set fbserv [file join [bu_dir bin] fbserv]
+ set fbfree [file join [bu_dir bin] fbfree]
+ set fbline [file join [bu_dir bin] fbline]
+ set fbclear [file join [bu_dir bin] fbclear]
# see if we can try to use the mged graphics window instead of firing up
our own framebuffer
set useMgedWindow 0
@@ -1111,7 +1111,7 @@
# simply fires off rtwizard
#
body GeometryBrowser::raytraceWizard {} {
- set rtwizard [file join [bu_brlcad_root "bin"] rtwizard]
+ set rtwizard [file join [bu_dir bin] rtwizard]
puts "exec $rtwizard &"
return [ exec $rtwizard & ]
}
Modified: brlcad/trunk/src/tclscripts/igraph/GraphEditor.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/igraph/GraphEditor.tcl 2020-12-18 23:19:36 UTC
(rev 78011)
+++ brlcad/trunk/src/tclscripts/igraph/GraphEditor.tcl 2020-12-18 23:23:54 UTC
(rev 78012)
@@ -281,7 +281,7 @@
# destroy the framebuffer, if we opened it
if { $_weStartedFbserv } {
puts "cleaning up fbserv"
- set fbfree [file join [bu_brlcad_root "bin"] fbfree]
+ set fbfree [file join [bu_dir bin] fbfree]
if { [ catch { exec $fbfree -F $_fbservPort } error ] } {
puts $error
puts "Unable to properly clean up after our fbserv"
@@ -380,10 +380,10 @@
set device /dev/X
set rgb "255 255 255"
set rtrun ""
- set fbserv [file join [bu_brlcad_root "bin"] fbserv]
- set fbfree [file join [bu_brlcad_root "bin"] fbfree]
- set fbline [file join [bu_brlcad_root "bin"] fbline]
- set fbclear [file join [bu_brlcad_root "bin"] fbclear]
+ set fbserv [file join [bu_dir bin] fbserv]
+ set fbfree [file join [bu_dir bin] fbfree]
+ set fbline [file join [bu_dir bin] fbline]
+ set fbclear [file join [bu_dir bin] fbclear]
# see if we can try to use the mged graphics window instead of firing up
our own framebuffer
set useMgedWindow 0
Modified: brlcad/trunk/src/tclscripts/man_browser.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/man_browser.tcl 2020-12-18 23:19:36 UTC (rev
78011)
+++ brlcad/trunk/src/tclscripts/man_browser.tcl 2020-12-18 23:23:54 UTC (rev
78012)
@@ -150,7 +150,7 @@
# Path to HTML man page directories
if {![info exists path] || ![file isdirectory $path]} {
- set path [file join [bu_brlcad_root "share/doc/html"]]
+ set path [file join [bu_dir doc] html]
}
configure -title "BRL-CAD Manual Page Browser"
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits