Revision: 17583 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17583 Author: ben2610 Date: 2008-11-26 18:35:53 +0100 (Wed, 26 Nov 2008)
Log Message: ----------- BGE bug fix: culling algorithm didn't used the correct camera. Modified Paths: -------------- trunk/blender/source/gameengine/Ketsji/KX_Scene.cpp Modified: trunk/blender/source/gameengine/Ketsji/KX_Scene.cpp =================================================================== --- trunk/blender/source/gameengine/Ketsji/KX_Scene.cpp 2008-11-26 17:34:10 UTC (rev 17582) +++ trunk/blender/source/gameengine/Ketsji/KX_Scene.cpp 2008-11-26 17:35:53 UTC (rev 17583) @@ -1249,7 +1249,7 @@ // If the camera is inside this node, then the object is visible. if (!vis) { - vis = gameobj->GetSGNode()->inside( GetActiveCamera()->GetCameraLocation() ); + vis = gameobj->GetSGNode()->inside( cam->GetCameraLocation() ); } // Test the object's bound sphere against the view frustum. _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs