Revision: 1495
http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1495&view=rev
Author: rorthomas
Date: 2010-07-24 18:15:11 +0000 (Sat, 24 Jul 2010)
Log Message:
-----------
no movement of character when in free camera mode
Modified Paths:
--------------
trunk/source/main/Character.cpp
Modified: trunk/source/main/Character.cpp
===================================================================
--- trunk/source/main/Character.cpp 2010-07-24 17:11:12 UTC (rev 1494)
+++ trunk/source/main/Character.cpp 2010-07-24 18:15:11 UTC (rev 1495)
@@ -284,6 +284,9 @@
{
if(physicsEnabled && !remote)
{
+ // disable character movement when using the free camera mode
+ if(eflsingleton && eflsingleton->cameramode == CAMERA_FREE)
return;
+
// small hack: if not visible do not apply physics
//mode perso
Vector3 position=personode->getPosition();
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
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel