> About setting the QTimer to zero: There are some issues in Qt 4.7 that
> cause some Qt operations to freeze when the interval is zero.

If anyone finds details, we can try to workaround it or look to another 
solution.

There is definitely an option to replace QTimer by QObject and just send a kind 
of message (or signal through QueuedConnection)to itself . Then, reschedule 
the message in its handler. This way, we get a heartBeat working without 
QTimer.

It would be useful to replace 10ms sleep in ON_DEMAND scheme by more 
sophisticated sleep, like WaitMessage() on Windows that wakes the main thread 
immediately when there is something to process. However, this is the problem 
of all osgViewer::Viewers.

John
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to