Revision: 8222
http://playerstage.svn.sourceforge.net/playerstage/?rev=8222&view=rev
Author: robotos
Date: 2009-08-24 07:39:06 +0000 (Mon, 24 Aug 2009)
Log Message:
-----------
raygeom should not create lines if not to be rendered
Modified Paths:
--------------
code/gazebo/trunk/server/physics/RayGeom.cc
Modified: code/gazebo/trunk/server/physics/RayGeom.cc
===================================================================
--- code/gazebo/trunk/server/physics/RayGeom.cc 2009-08-23 18:54:14 UTC (rev
8221)
+++ code/gazebo/trunk/server/physics/RayGeom.cc 2009-08-24 07:39:06 UTC (rev
8222)
@@ -49,7 +49,7 @@
// Create default ray with unit length
this->SetGeom( dCreateRay( this->spaceId, 1.0 ), false );
- if (displayRays)
+ if ( displayRays && Simulator::Instance()->GetRenderEngineEnabled() )
{
this->line =
OgreCreator::Instance()->CreateDynamicLine(OgreDynamicRenderable::OT_LINE_LIST);
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