Revision: 7053
http://playerstage.svn.sourceforge.net/playerstage/?rev=7053&view=rev
Author: natepak
Date: 2008-09-29 21:00:01 +0000 (Mon, 29 Sep 2008)
Log Message:
-----------
Ogre 1.6 requires gui to be visible before ogre windows are created.
Modified Paths:
--------------
code/gazebo/trunk/server/gui/GLWindow.cc
code/gazebo/trunk/server/gui/Gui.cc
Modified: code/gazebo/trunk/server/gui/GLWindow.cc
===================================================================
--- code/gazebo/trunk/server/gui/GLWindow.cc 2008-09-29 18:43:10 UTC (rev
7052)
+++ code/gazebo/trunk/server/gui/GLWindow.cc 2008-09-29 21:00:01 UTC (rev
7053)
@@ -92,6 +92,7 @@
void GLWindow::Init()
{
this->show();
+ Fl::check();
this->mouseDrag = false;
// Create the default camera.
Modified: code/gazebo/trunk/server/gui/Gui.cc
===================================================================
--- code/gazebo/trunk/server/gui/Gui.cc 2008-09-29 18:43:10 UTC (rev 7052)
+++ code/gazebo/trunk/server/gui/Gui.cc 2008-09-29 21:00:01 UTC (rev 7053)
@@ -88,6 +88,7 @@
this->end();
this->show();
+ Fl::check();
// Create a dummy rendering window. This creates a context, and allows Ogre
// to initialize properly
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit