Revision: 19432
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19432
Author: elubie
Date: 2009-03-28 12:09:53 +0100 (Sat, 28 Mar 2009)
Log Message:
-----------
game engine compile fix for MSVC, game engine team might want to check.
Modified Paths:
--------------
trunk/blender/source/gameengine/Converter/KX_ConvertActuators.cpp
Modified: trunk/blender/source/gameengine/Converter/KX_ConvertActuators.cpp
===================================================================
--- trunk/blender/source/gameengine/Converter/KX_ConvertActuators.cpp
2009-03-28 10:52:51 UTC (rev 19431)
+++ trunk/blender/source/gameengine/Converter/KX_ConvertActuators.cpp
2009-03-28 11:09:53 UTC (rev 19432)
@@ -585,25 +585,16 @@
originalval =
converter->FindGameObject(editobact->ob);
}
}
- MT_Vector3 linvelvec (
-
KX_BLENDERTRUNC(editobact->linVelocity[0]),
-
KX_BLENDERTRUNC(editobact->linVelocity[1]),
-
KX_BLENDERTRUNC(editobact->linVelocity[2]));
- MT_Vector3 angvelvec (
-
KX_BLENDERTRUNC(editobact->angVelocity[0]),
-
KX_BLENDERTRUNC(editobact->angVelocity[1]),
-
KX_BLENDERTRUNC(editobact->angVelocity[2]));
-
KX_SCA_AddObjectActuator*
tmpaddact =
new
KX_SCA_AddObjectActuator(
gameobj,
originalval,
editobact->time,
scene,
-
linvelvec.getValue(),
+
editobact->linVelocity,
(editobact->localflag & ACT_EDOB_LOCAL_LINV)!=0,
-
angvelvec.getValue(),
+
editobact->angVelocity,
(editobact->localflag & ACT_EDOB_LOCAL_ANGV)!=0
);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs