diff options
author | Daniel Stokes <kupomail@gmail.com> | 2011-12-31 13:37:19 +0400 |
---|---|---|
committer | Daniel Stokes <kupomail@gmail.com> | 2011-12-31 13:37:19 +0400 |
commit | 359a95bdc9bf56c98efd3f767e90e056c660f2b7 (patch) | |
tree | 6417e66b8873a1486a8045d9021ef199e0d0fd1d /source/gameengine/Ketsji/KX_FontObject.cpp | |
parent | 59b406ce73990739a0fe949219afbf251e2eb4e1 (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/Ketsji/KX_FontObject.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_FontObject.cpp | 4 |
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; |