Revision: 7856
http://playerstage.svn.sourceforge.net/playerstage/?rev=7856&view=rev
Author: robotos
Date: 2009-06-18 11:28:09 +0000 (Thu, 18 Jun 2009)
Log Message:
-----------
bbVisuals calls should all be checked.
Modified Paths:
--------------
code/gazebo/trunk/server/physics/Geom.cc
Modified: code/gazebo/trunk/server/physics/Geom.cc
===================================================================
--- code/gazebo/trunk/server/physics/Geom.cc 2009-06-18 11:26:06 UTC (rev
7855)
+++ code/gazebo/trunk/server/physics/Geom.cc 2009-06-18 11:28:09 UTC (rev
7856)
@@ -183,10 +183,10 @@
this->bbVisual = OgreCreator::Instance()->CreateVisual(
visname.str(), this->visualNode);
- this->bbVisual->SetCastShadows(false);
if (this->bbVisual)
{
+ this->bbVisual->SetCastShadows(false);
this->bbVisual->AttachBoundingBox(min,max);
this->bbVisual->SetRotation(pose.rot.GetInverse()); //transform aabb
from global frame back to local frame
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit