Show
Ignore:
Timestamp:
10/10/09 11:26:06 (5 years ago)
Author:
robert
Message:

From Jean-Sebastien Guay, "osgWidget::Window::setWindow() calls parented() (which does an addChild()) on the new window, but it does not call unparented() (which does a removeChild()) on the old window before. So it works fine if there was no window previously, but if an app creates new windows and calls setWindow() to replace the previous one, they will all add up instead and be on top of each other...

This is fixed in the file attached."

Files:
1 modified

Legend:

Unmodified
Added
Removed