Revision: 8460 http://playerstage.svn.sourceforge.net/playerstage/?rev=8460&view=rev Author: natepak Date: 2009-12-15 17:40:09 +0000 (Tue, 15 Dec 2009)
Log Message: ----------- Updated the way models pose is set at load time Modified Paths: -------------- code/gazebo/trunk/server/Model.cc Modified: code/gazebo/trunk/server/Model.cc =================================================================== --- code/gazebo/trunk/server/Model.cc 2009-12-15 17:34:27 UTC (rev 8459) +++ code/gazebo/trunk/server/Model.cc 2009-12-15 17:40:09 UTC (rev 8460) @@ -196,7 +196,7 @@ pose.pos = **this->xyzP; pose.rot = **this->rpyP; - if (this->IsStatic()) + //if (this->IsStatic()) this->SetRelativePose( pose ); if (this->type == "physical") @@ -207,8 +207,8 @@ gzthrow("Invalid model type[" + this->type + "]\n"); // Set the relative pose of the model - if (!this->IsStatic()) - this->SetRelativePose( pose ); + //if (!this->IsStatic()) + //this->SetRelativePose( pose ); // Record the model's initial pose (for reseting) this->SetInitPose(pose); 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 the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit