Ignore:
Timestamp:
06/17/12 17:42:57 (22 months ago)
Author:
mstajdohar
Branch:
default
Message:

Smooth update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangeqt/networkcurve.cpp

    r10930 r10931  
    10081008        if (before_refresh_time > refresh_time && i % 2 == 0) 
    10091009        { 
    1010             scale_axes(); 
    1011             update_properties(); 
    1012             QCoreApplication::processEvents(); 
    1013             int refresh_duration = before_refresh_time.msecsTo(QTime::currentTime()); 
    1014             refresh_time = before_refresh_time.addMSecs(qMax(refresh_duration * 3, 10)); 
     1010            if (!use_animations() or m_currentUpdate.size() <= 0) 
     1011            { 
     1012                scale_axes(); 
     1013                update_properties(); 
     1014                QCoreApplication::processEvents(); 
     1015                int refresh_duration = before_refresh_time.msecsTo(QTime::currentTime()); 
     1016                refresh_time = before_refresh_time.addMSecs(qMax(refresh_duration * 3, 10)); 
     1017            } 
    10151018        } 
    10161019        if (m_stop_optimization) 
Note: See TracChangeset for help on using the changeset viewer.