Revision: 8157
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8157&view=rev
Author:   hsujohnhsu
Date:     2009-07-30 02:35:06 +0000 (Thu, 30 Jul 2009)

Log Message:
-----------
comment out if statement that seems wrong for Trimesh construction.

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-07-30 02:33:46 UTC (rev 
8156)
+++ code/gazebo/trunk/server/physics/Geom.cc    2009-07-30 02:35:06 UTC (rev 
8157)
@@ -249,7 +249,10 @@
 
   if (this->placeable && !this->IsStatic())
   {
-    if (dGeomGetClass(geomId) != dTriMeshClass)
+    /// Not sure why this if statement was here
+    /// trimesh loading works fine without it
+    /// commenting out for now
+    //if (dGeomGetClass(geomId) != dTriMeshClass)
     {
       this->transId = dCreateGeomTransform( this->spaceId );
       dGeomTransformSetGeom( this->transId, this->geomId );
@@ -272,6 +275,7 @@
   }
   else
   {
+    // collide with all
     this->SetCategoryBits(GZ_ALL_COLLIDE);
     this->SetCollideBits(GZ_ALL_COLLIDE);
   }


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

Reply via email to