[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38696] trunk/blender/source/gameengine/ Ketsji/KX_KetsjiEngine.cpp: BGE BugFix for: [#23874] Custom projection matrix doesn't work in custom viewport
Dalai Felinto
dfelinto at gmail.com
Mon Jul 25 17:37:55 CEST 2011
Revision: 38696
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38696
Author: dfelinto
Date: 2011-07-25 15:37:55 +0000 (Mon, 25 Jul 2011)
Log Message:
-----------
BGE BugFix for: [#23874] Custom projection matrix doesn't work in custom viewport
This was never highly tested, that's why I never committed (my patch for this was from September 2010).
But once again I got a report that this bug was a deal-break and the patch seems to work for this artist.
I believe it's working, but I will keep my eyes open for this.
Modified Paths:
--------------
trunk/blender/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
Modified: trunk/blender/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/KX_KetsjiEngine.cpp 2011-07-25 15:27:01 UTC (rev 38695)
+++ trunk/blender/source/gameengine/Ketsji/KX_KetsjiEngine.cpp 2011-07-25 15:37:55 UTC (rev 38696)
@@ -1220,7 +1220,7 @@
projmat.setValue(m_overrideCamProjMat.getPointer());
cam->SetProjectionMatrix(projmat);
}
- } else if (cam->hasValidProjectionMatrix() && !cam->GetViewport() )
+ } else if (cam->hasValidProjectionMatrix())
{
m_rasterizer->SetProjectionMatrix(cam->GetProjectionMatrix());
} else
More information about the Bf-blender-cvs
mailing list