Revision: 8660
http://playerstage.svn.sourceforge.net/playerstage/?rev=8660&view=rev
Author: natepak
Date: 2010-05-06 15:26:25 +0000 (Thu, 06 May 2010)
Log Message:
-----------
Fixed mouse rotation
Modified Paths:
--------------
code/gazebo/trunk/server/gui/GLWindow.cc
Modified: code/gazebo/trunk/server/gui/GLWindow.cc
===================================================================
--- code/gazebo/trunk/server/gui/GLWindow.cc 2010-05-06 01:21:58 UTC (rev
8659)
+++ code/gazebo/trunk/server/gui/GLWindow.cc 2010-05-06 15:26:25 UTC (rev
8660)
@@ -475,7 +475,7 @@
// interactively rotate view
//
this->activeCamera->RotateYaw(DTOR(-drag.x * this->rotateAmount));
- this->activeCamera->RotatePitch(DTOR(-drag.y * this->rotateAmount));
+ this->activeCamera->RotatePitch(DTOR(drag.y * this->rotateAmount));
}
}
else if (this->rightMousePressed)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit