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:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-05-26 16:09:17 +0400
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-05-26 16:09:17 +0400
commit8253d3e0411276ca09995fcbd826abd2c0c8b930 (patch)
tree2d6ad13d242ee41e0ed3f1adcaf9bd12ae63b404 /source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
parent3dd18c5c34390316ac95b972aaa989455cf8ead6 (diff)
Python fixes:
Reenabled the setScript/getScript methods for python controller bricks. Set the ray source point to MouseFocusSensor.getRaySource works. Added: Python -> MT_Quaternion MT_Matrix4x4, MT_Matrix3x3, MT_Vector3, MT_Point3 -> Python Correct transform of frustum bound sphere centre point to world coordinates
Diffstat (limited to 'source/gameengine/Ketsji/KX_MouseFocusSensor.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_MouseFocusSensor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp b/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
index fc89bf5e042..84b08058ecc 100644
--- a/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
+++ b/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
@@ -229,6 +229,7 @@ bool KX_MouseFocusSensor::ParentObjectHasFocus(void)
topoint[1]/topoint[3],
topoint[2]/topoint[3]);
m_prevTargetPoint = topoint3;
+ m_prevSourcePoint = frompoint3;
/* 2. Get the object from SuMO*/
/* Shoot! Beware that the first argument here is an