Revision: 41282
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41282&view=rev
Author:   starseeker
Date:     2010-11-08 18:00:01 +0000 (Mon, 08 Nov 2010)

Log Message:
-----------
Get a (very) basic menu based approach to getting the Bot Editor going in MGED.

Modified Paths:
--------------
    brlcad/trunk/src/tclscripts/mged/Makefile.am
    brlcad/trunk/src/tclscripts/mged/openw.tcl
    brlcad/trunk/src/tclscripts/mged/tclIndex

Modified: brlcad/trunk/src/tclscripts/mged/Makefile.am
===================================================================
--- brlcad/trunk/src/tclscripts/mged/Makefile.am        2010-11-08 16:57:03 UTC 
(rev 41281)
+++ brlcad/trunk/src/tclscripts/mged/Makefile.am        2010-11-08 18:00:01 UTC 
(rev 41282)
@@ -19,6 +19,7 @@
        attr_edit.tcl \
        bindings.tcl \
        bot_face_select.tcl \
+       botedit.tcl \
        bots.tcl \
        build_region.tcl \
        calipers.tcl \

Modified: brlcad/trunk/src/tclscripts/mged/openw.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/mged/openw.tcl  2010-11-08 16:57:03 UTC (rev 
41281)
+++ brlcad/trunk/src/tclscripts/mged/openw.tcl  2010-11-08 18:00:01 UTC (rev 
41282)
@@ -1910,6 +1910,11 @@
 
     .$id.menubar.tools add separator
 
+    .$id.menubar.tools add command -label "BoT Edit Tool" -underline 0\
+       -command "bot_askforname .$id $screen"
+    hoc_register_menu_data "Tools" "BoT Edit Tool" "BoT Edit Tool"\
+       { { summary "A tool for performing various editing operations on BoTs." 
} }
+
     .$id.menubar.tools add command -label "Build Pattern Tool" -underline 0\
        -command "pattern_control .\#auto"
     hoc_register_menu_data "Tools" "Build Pattern Tool" "Build Pattern Tool"\

Modified: brlcad/trunk/src/tclscripts/mged/tclIndex
===================================================================
--- brlcad/trunk/src/tclscripts/mged/tclIndex   2010-11-08 16:57:03 UTC (rev 
41281)
+++ brlcad/trunk/src/tclscripts/mged/tclIndex   2010-11-08 18:00:01 UTC (rev 
41282)
@@ -25,6 +25,7 @@
 set auto_index(?) [list source [file join $dir help.tcl]]
 set auto_index(?devel) [list source [file join $dir helpdevel.tcl]]
 set auto_index(Attr_editor) [list source [file join $dir attr_edit.tcl]]
+set auto_index(BotEditor) [list source [file join $dir .. boteditor 
BotEditor.tcl]]
 set auto_index(HMlink_callback) [list source [file join $dir mged.tcl]]
 set auto_index(HMset_image) [list source [file join $dir mged.tcl]]
 set auto_index(PMLinearEvent) [list source [file join $dir rt.tcl]]
@@ -65,6 +66,7 @@
 set auto_index(bezdex) [list source [file join $dir skt_ed.tcl]]
 set auto_index(bind_listbox) [list source [file join $dir list.tcl]]
 set auto_index(binunif_create) [list source [file join $dir make_solid.tcl]]
+set auto_index(bot_askforname) [list source [file join $dir botedit.tcl]]
 set auto_index(bot_face_sel_abort) [list source [file join $dir 
bot_face_select.tcl]]
 set auto_index(bot_face_select) [list source [file join $dir 
bot_face_select.tcl]]
 set auto_index(bots) [list source [file join $dir bots.tcl]]


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

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to