Revision: 7742
http://playerstage.svn.sourceforge.net/playerstage/?rev=7742&view=rev
Author: hsujohnhsu
Date: 2009-05-29 23:30:21 +0000 (Fri, 29 May 2009)
Log Message:
-----------
Do not update camera if funning without ogre.
Modified Paths:
--------------
code/gazebo/trunk/server/Simulator.cc
Modified: code/gazebo/trunk/server/Simulator.cc
===================================================================
--- code/gazebo/trunk/server/Simulator.cc 2009-05-29 21:10:46 UTC (rev
7741)
+++ code/gazebo/trunk/server/Simulator.cc 2009-05-29 23:30:21 UTC (rev
7742)
@@ -350,7 +350,8 @@
{
lastTime = this->GetWallTime();
- OgreAdaptor::Instance()->UpdateCameras();
+ if (this->renderEngineEnabled)
+ OgreAdaptor::Instance()->UpdateCameras();
if (this->gui)
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit