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-07-22 04:26:34 +0400
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-07-22 04:26:34 +0400
commitb453cd0715014b3645d1913ac8a1130d86e97e21 (patch)
tree9611c34bce76c0ad0d3fb80b20684e5c23d1844f /source/gameengine/Ketsji/KX_Camera.cpp
parent6ce57a706f08d431ab9f8586e106ae545ba861ac (diff)
Fix bug #1460: Camera IPOs Broken (Gameengine)
The camera IPO was not invalidating the cached projection matrix.
Diffstat (limited to 'source/gameengine/Ketsji/KX_Camera.cpp')
-rw-r--r--source/gameengine/Ketsji/KX_Camera.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_Camera.cpp b/source/gameengine/Ketsji/KX_Camera.cpp
index 0b12ddfe0d1..009ea4ac617 100644
--- a/source/gameengine/Ketsji/KX_Camera.cpp
+++ b/source/gameengine/Ketsji/KX_Camera.cpp
@@ -161,6 +161,12 @@ bool KX_Camera::hasValidProjectionMatrix() const
return m_set_projection_matrix;
}
+void KX_Camera::InvalidateProjectionMatrix(bool valid)
+{
+ m_set_projection_matrix = valid;
+}
+
+
/*
* These getters retrieve the clip data and the focal length
*/