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:
authorCampbell Barton <ideasman42@gmail.com>2009-11-10 16:20:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-10 16:20:32 +0300
commit1f2fe7ec1409298527d757cb395358bc02d494c1 (patch)
tree34bc4365ef932ff5bb5db167640d80ff16af86d0 /source/gameengine
parentaf2e6c38e99024d5055e66e2aea75de61c3280e9 (diff)
fix for own error in active bone commit, wasnt checking object type was an armature
also fix for warning with printf
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/GameLogic/SCA_ExpressionController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/SCA_ExpressionController.cpp b/source/gameengine/GameLogic/SCA_ExpressionController.cpp
index 91135079fe6..2771b6c45b5 100644
--- a/source/gameengine/GameLogic/SCA_ExpressionController.cpp
+++ b/source/gameengine/GameLogic/SCA_ExpressionController.cpp
@@ -107,7 +107,7 @@ void SCA_ExpressionController::Trigger(SCA_LogicManager* logicmgr)
{
if (value->IsError())
{
- printf(value->GetText());
+ printf("%s\n", value->GetText().ReadPtr());
} else
{
float num = (float)value->GetNumber();