Revision: 8391
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8391&view=rev
Author:   natepak
Date:     2009-11-11 23:48:31 +0000 (Wed, 11 Nov 2009)

Log Message:
-----------
Fixed minor bug in the contact sensor

Modified Paths:
--------------
    code/gazebo/trunk/server/sensors/contact/ContactSensor.cc

Modified: code/gazebo/trunk/server/sensors/contact/ContactSensor.cc
===================================================================
--- code/gazebo/trunk/server/sensors/contact/ContactSensor.cc   2009-11-11 
21:50:55 UTC (rev 8390)
+++ code/gazebo/trunk/server/sensors/contact/ContactSensor.cc   2009-11-11 
23:48:31 UTC (rev 8391)
@@ -134,7 +134,7 @@
 std::string ContactSensor::GetGeomName(unsigned int index) const
 {
   if (index < this->contacts.size())
-    return this->geomNamesP[index]->GetValue();
+    return this->contacts[index].name;
 
   return std::string("");
 }


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
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to