Revision: 8442
http://playerstage.svn.sourceforge.net/playerstage/?rev=8442&view=rev
Author: natepak
Date: 2009-11-24 01:53:58 +0000 (Tue, 24 Nov 2009)
Log Message:
-----------
Fixed error if gazebo is started without rendering engine
Modified Paths:
--------------
code/gazebo/trunk/server/Entity.cc
Modified: code/gazebo/trunk/server/Entity.cc
===================================================================
--- code/gazebo/trunk/server/Entity.cc 2009-11-24 01:14:03 UTC (rev 8441)
+++ code/gazebo/trunk/server/Entity.cc 2009-11-24 01:53:58 UTC (rev 8442)
@@ -328,7 +328,8 @@
this->visualNode->SetDirty(true, this->relativePose);
else
*/
- this->visualNode->SetPose(this->relativePose);
+ if (Simulator::Instance()->GetRenderEngineEnabled())
+ this->visualNode->SetPose(this->relativePose);
if (notify)
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit