Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2011-09-16 22:23:57 +0400
committerDalai Felinto <dfelinto@gmail.com>2011-09-16 22:23:57 +0400
commit0241e120891685b2ecb521e10f9e7a77d6910614 (patch)
tree5083a6e842c4e310cdc54e0e1f4880790b69cd56 /source/gameengine
parent43259c978e51ab444d4d4d7a6fee2477e6f4a784 (diff)
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.
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Ketsji/KX_KetsjiEngine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
index 65ff06456b4..acd25ace04a 100644
--- a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
+++ b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp
@@ -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++;