Hi!
I seam to have isolated the problem to the line:
Thread::getCurrentChangeList()->merge(*clientHandle->getChangeList());
In my display function:
void OpenSGClient::display(){
if(needSync==true) {
needSync = false;
std::cout << "display have recieved a needSync\n";
syncBarrier->enter(2);
std::cout << "display is syncing\n";
Thread::getCurrentChangeList()->merge(*clientHandle->getChangeList());
clientHandle->getChangeList()->applyAndClear();
syncBarrier->enter(2);
}
mgr->redraw();
OSG::Thread::getCurrentChangeList()->clearAll();
glClear(GL_COLOR_BUFFER_BIT);
glutSwapBuffers();
}
So how to work around this problem? because if I don't have this line,
the render servers will never notice any change to the scene. Can I use
any other command than merge?
Many thanks!
// Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users