singlewindow: minor log output fix
log message made it look like it originated from View::setUpViewOnSingleScreen
This commit is contained in:
parent
21539466fd
commit
b4a2114fd4
@ -76,12 +76,12 @@ void SingleWindow::configure(osgViewer::View& view) const
|
|||||||
osgViewer::GraphicsWindow* gw = dynamic_cast<osgViewer::GraphicsWindow*>(gc.get());
|
osgViewer::GraphicsWindow* gw = dynamic_cast<osgViewer::GraphicsWindow*>(gc.get());
|
||||||
if (gw)
|
if (gw)
|
||||||
{
|
{
|
||||||
OSG_INFO<<"View::setUpViewOnSingleScreen - GraphicsWindow has been created successfully."<<std::endl;
|
OSG_INFO<<"SingleWindow::configure - GraphicsWindow has been created successfully."<<std::endl;
|
||||||
gw->getEventQueue()->getCurrentEventState()->setWindowRectangle(traits->x, traits->y, traits->width, traits->height );
|
gw->getEventQueue()->getCurrentEventState()->setWindowRectangle(traits->x, traits->y, traits->width, traits->height );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
OSG_NOTICE<<" GraphicsWindow has not been created successfully."<<std::endl;
|
OSG_NOTICE<<"SingleWindow::configure - GraphicsWindow has not been created successfully."<<std::endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user