Revision: 51690
          http://brlcad.svn.sourceforge.net/brlcad/?rev=51690&view=rev
Author:   bob1961
Date:     2012-07-27 13:47:46 +0000 (Fri, 27 Jul 2012)
Log Message:
-----------
Modified ArcherCore::handleTreeOpen to check if mPNode2CList() exists before 
trying to open.

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

Modified: brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl   2012-07-27 12:04:25 UTC 
(rev 51689)
+++ brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl   2012-07-27 13:47:46 UTC 
(rev 51690)
@@ -4241,7 +4241,7 @@
     set cgdata [$itk_component(ged) get $ctext]
     set ctype [lindex $cgdata 0]
 
-    if {$ctype == "comb"} {
+    if {$ctype == "comb" && [info exists mPNode2CList($cnode)]} {
        # If this node has never been opened ...
        if {[addTreeNodeTag $cnode $TREE_OPENED_TAG]} {
            # Remove placeholder

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to