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>2018-02-06 05:56:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-02-06 10:03:28 +0300
commit7b0cb7e00db3747633d205146475c9fa7c3d6f3b (patch)
treeca1b5aef81b15639be11703f1ef25ca2ef21aa2c /source/gameengine
parent78c6684ee9760506dc7cf8105e13e6910222d728 (diff)
Object Mode: don't check posemode in the BGE
No reason pose mode should change behavior
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;
}