Revision: 40990
http://brlcad.svn.sourceforge.net/brlcad/?rev=40990&view=rev
Author: brlcad
Date: 2010-10-14 04:43:50 +0000 (Thu, 14 Oct 2010)
Log Message:
-----------
fix a bug reading from stdin within mged with gets. the gets command that mged
defines was trying to save the current execute_cmd as execute_cmd_save but
after immediately creating/initializing the proc to empty. the proc has to be
deleted, which can be done by renaming to an empty string. this bug was
reported via the forums by gilliganu
(https://sourceforge.net/projects/brlcad/forums/forum/362509/topic/3847236)
Modified Paths:
--------------
brlcad/trunk/src/tclscripts/mged/text.tcl
Modified: brlcad/trunk/src/tclscripts/mged/text.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/mged/text.tcl 2010-10-14 04:25:46 UTC (rev
40989)
+++ brlcad/trunk/src/tclscripts/mged/text.tcl 2010-10-14 04:43:50 UTC (rev
40990)
@@ -315,6 +315,7 @@
# the line that was input. total hack. total fugly hack.
proc execute_cmd_save {} {}
+ rename execute_cmd_save ""
rename execute_cmd execute_cmd_save
rename gets_execute_cmd execute_cmd
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits