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
This commit is contained in:
Dalai Felinto
2009-04-30 03:46:31 +00:00
parent 5908e2aa77
commit 939290b59c

View File

@@ -906,9 +906,6 @@ void KX_KetsjiEngine::Render()
}
} // if(m_rasterizer->Stereo())
// run the 2dfilters and motion blur once for all the scenes
PostRenderFrame();
EndFrame();
}
@@ -1284,6 +1281,9 @@ void KX_KetsjiEngine::RenderFrame(KX_Scene* scene, KX_Camera* cam)
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()