Revision: 54441
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54441&view=rev
Author:   bob1961
Date:     2013-02-20 12:18:50 +0000 (Wed, 20 Feb 2013)
Log Message:
-----------
Archer mod - need to clear displayed data when doing a database load.

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

Modified: brlcad/trunk/src/tclscripts/archer/Archer.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/archer/Archer.tcl       2013-02-20 05:18:53 UTC 
(rev 54440)
+++ brlcad/trunk/src/tclscripts/archer/Archer.tcl       2013-02-20 12:18:50 UTC 
(rev 54441)
@@ -1669,6 +1669,11 @@
        } else {
            $itk_component(ged) open $mTargetCopy
        }
+
+       if {$mAllowDataClear} {
+           gedCmd data_axes points {}
+           gedCmd data_lines points {}
+       }
     } else {
        initGed
 

Modified: brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl   2013-02-20 05:18:53 UTC 
(rev 54440)
+++ brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl   2013-02-20 12:18:50 UTC 
(rev 54441)
@@ -4878,6 +4878,11 @@
        } else {
            $itk_component(ged) open $mTargetCopy
        }
+
+       if {$mAllowDataClear} {
+           gedCmd data_axes points {}
+           gedCmd data_lines points {}
+       }
     } else {
        initGed
 

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to