[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19998] trunk/blender/source/gameengine/ Ketsji/KX_KetsjiEngine.cpp: BGE 2dFilters: Revert of part of own commit [ rev.

Dalai Felinto dfelinto at gmail.com
Thu Apr 30 05:46:32 CEST 2009


Revision: 19998
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19998
Author:   dfelinto
Date:     2009-04-30 05:46:31 +0200 (Thu, 30 Apr 2009)

Log Message:
-----------
BGE 2dFilters: Revert of part of own commit [rev. 19687]

Therefore we still need to find a better way to solve this problem:
[#18154] 2dFilter and motion blur should run only once to all the scenes:
http://projects.blender.org/tracker/?func=detail&aid=18154&group_id=9&atid=127

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	2009-04-30 02:41:07 UTC (rev 19997)
+++ trunk/blender/source/gameengine/Ketsji/KX_KetsjiEngine.cpp	2009-04-30 03:46:31 UTC (rev 19998)
@@ -906,9 +906,6 @@
 		}
 	} // if(m_rasterizer->Stereo())
 
-	// run the 2dfilters and motion blur once for all the scenes
-	PostRenderFrame();
-
 	EndFrame();
 }
 
@@ -1284,6 +1281,9 @@
 		scene->GetPhysicsEnvironment()->debugDrawWorld();
 	
 	m_rasterizer->FlushDebugLines();
+
+	//it's running once for every scene (i.e. overlay scenes have  it running twice). That's not the ideal.
+	PostRenderFrame();
 }
 
 void KX_KetsjiEngine::PostRenderFrame()





More information about the Bf-blender-cvs mailing list