Changeset 6352 for trunk


Ignore:
Timestamp:
May 18, 2016, 2:21:04 PM (8 years ago)
Author:
ldelgass
Message:

Add a temporary hack to MapViewer::rebuild to render an extra frame as a
workaround to the one frame delay in layer changes taking effect.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/mapviewer.tcl

    r6348 r6352  
    6161    public method parameters {title args} { # do nothing }
    6262    public method placard {option args}
    63     public method refresh {} { Rebuild }
     63    public method refresh {} {
     64        Rebuild
     65        # Temporary hack to fix one frame delay in update
     66        SendCmd "imgflush"
     67        SendCmd "renderer render"
     68    }
    6469    public method scale {args}
    6570    public method select {option {args ""}}
Note: See TracChangeset for help on using the changeset viewer.