BGE fix: Font Objects not showing up in the dome mode

geez, who coded the font object? or even worse, who did the dome code?
Don't coders talk? tsc tsc ...

Now seriously, KX_KetsjiEngine::RenderFonts() could be moved to inside the KX_Scene class. It probably should (so I could call it from inside KX_Dome::RenderDomeFrame()). Not critical, so not changing it for now.
This commit is contained in:
Dalai Felinto
2011-09-16 18:23:57 +00:00
parent 43259c978e
commit 0241e12089

View File

@@ -327,6 +327,8 @@ void KX_KetsjiEngine::RenderDome()
// do the rendering
m_dome->RenderDomeFrame(scene,cam, i);
//render all the font objects for this scene
RenderFonts(scene);
}
list<class KX_Camera*>* cameras = scene->GetCameras();
@@ -344,6 +346,8 @@ void KX_KetsjiEngine::RenderDome()
// do the rendering
m_dome->RenderDomeFrame(scene, (*it),i);
//render all the font objects for this scene
RenderFonts(scene);
}
it++;