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:
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Converter/BL_BlenderDataConversion.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/gameengine/Converter/BL_BlenderDataConversion.cpp b/source/gameengine/Converter/BL_BlenderDataConversion.cpp
index acd425e788a..dafcd377b1c 100644
--- a/source/gameengine/Converter/BL_BlenderDataConversion.cpp
+++ b/source/gameengine/Converter/BL_BlenderDataConversion.cpp
@@ -1708,6 +1708,7 @@ static ListBase *get_active_constraints2(Object *ob)
return NULL;
// XXX - shouldnt we care about the pose data and not the mode???
+#if 0
if (ob->mode & OB_MODE_POSE) {
bPoseChannel *pchan;
@@ -1715,8 +1716,11 @@ static ListBase *get_active_constraints2(Object *ob)
if (pchan)
return &pchan->constraints;
}
- else
+ else
+#endif
+ {
return &ob->constraints;
+ }
return NULL;
}