Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-04-08 03:21:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-04-08 03:21:30 +0400
commite063682ed3f8c7a9d6ead89371e3663feff4af3c (patch)
tree793ef491de5d2af33d46722ae185069c443fd6eb /source/gameengine/Ketsji/KX_MotionState.cpp
parent51b4145841293d4a695b7bbe88e90ebd98443fc8 (diff)
gcc wouldn't compile using a reference
Diffstat (limited to 'source/gameengine/Ketsji/KX_MotionState.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_MotionState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_MotionState.cpp b/source/gameengine/Ketsji/KX_MotionState.cpp
index 00d9a32eb38..b4d58dccfdf 100644
--- a/source/gameengine/Ketsji/KX_MotionState.cpp
+++ b/source/gameengine/Ketsji/KX_MotionState.cpp
@@ -60,7 +60,7 @@ void KX_MotionState::getWorldScaling(float& scaleX,float& scaleY,float& scaleZ)
void KX_MotionState::getWorldOrientation(float& quatIma0,float& quatIma1,float& quatIma2,float& quatReal)
{
- MT_Quaternion& orn = m_node->GetWorldOrientation().getRotation();
+ MT_Quaternion orn = m_node->GetWorldOrientation().getRotation();
quatIma0 = orn[0];
quatIma1 = orn[1];
quatIma2 = orn[2];