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:
authorDaniel Stokes <kupomail@gmail.com>2011-12-31 13:37:19 +0400
committerDaniel Stokes <kupomail@gmail.com>2011-12-31 13:37:19 +0400
commit359a95bdc9bf56c98efd3f767e90e056c660f2b7 (patch)
tree6417e66b8873a1486a8045d9021ef199e0d0fd1d /source/gameengine
parent59b406ce73990739a0fe949219afbf251e2eb4e1 (diff)
Changing KX_FontObject to look for a "Text" game property instead of a "text" property to match with bitmap font usage.
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Ketsji/KX_FontObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Ketsji/KX_FontObject.cpp b/source/gameengine/Ketsji/KX_FontObject.cpp
index eca9a14ce7c..5a4d9065605 100644
--- a/source/gameengine/Ketsji/KX_FontObject.cpp
+++ b/source/gameengine/Ketsji/KX_FontObject.cpp
@@ -118,8 +118,8 @@ void KX_FontObject::ProcessReplica()
void KX_FontObject::DrawText()
{
/* Allow for some logic brick control */
- if(this->GetProperty("text"))
- m_text = split_string(this->GetProperty("text")->GetText());
+ if(this->GetProperty("Text"))
+ m_text = split_string(this->GetProperty("Text")->GetText());
/* only draws the text if visible */
if(this->GetVisible() == 0) return;