Revision: 54175
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54175&view=rev
Author:   bob1961
Date:     2013-01-15 14:45:03 +0000 (Tue, 15 Jan 2013)
Log Message:
-----------
More tweaks for Archer's sketch editor. Update the handle_configure method to 
redraw the grid after receiving a window configure event. Whether we're in 
detail mode or not, the segments need to be created in the canvas.

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

Modified: brlcad/trunk/src/tclscripts/archer/SketchEditFrame.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/archer/SketchEditFrame.tcl      2013-01-14 
23:49:25 UTC (rev 54174)
+++ brlcad/trunk/src/tclscripts/archer/SketchEditFrame.tcl      2013-01-15 
14:45:03 UTC (rev 54175)
@@ -1959,6 +1959,8 @@
     set mCanvasInvWidth [expr {1.0 / double($mCanvasWidth)}]
     set mCanvasCenterX [expr {int($mCanvasWidth * 0.5)}]
     set mCanvasCenterY [expr {int($mCanvasHeight * 0.5)}]
+
+    do_scale 1.0 1 1
 }
 
 
@@ -2228,6 +2230,7 @@
     } else {
        $::ArcherCore::application restoreCanvas
        initSketchData $gdata
+       createSegments
 
        set i 1
        set mEditMode 0

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


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to