Revision: 8812
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8812&view=rev
Author:   hsujohnhsu
Date:     2010-07-02 22:37:41 +0000 (Fri, 02 Jul 2010)

Log Message:
-----------
attach model name to camera name so we can have multiple models with the same 
camera name as long as models are named differently.

Modified Paths:
--------------
    code/gazebo/trunk/server/sensors/camera/MonoCameraSensor.cc

Modified: code/gazebo/trunk/server/sensors/camera/MonoCameraSensor.cc
===================================================================
--- code/gazebo/trunk/server/sensors/camera/MonoCameraSensor.cc 2010-07-02 
22:36:46 UTC (rev 8811)
+++ code/gazebo/trunk/server/sensors/camera/MonoCameraSensor.cc 2010-07-02 
22:37:41 UTC (rev 8812)
@@ -67,7 +67,7 @@
 // Load the camera
 void MonoCameraSensor::LoadChild( XMLConfigNode *node )
 {
-  this->cameraName = this->GetName();
+  this->cameraName = this->cameraName+this->GetName();
   this->LoadCam( node );
 
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to