fix compile error for the BGE

This commit is contained in:
Campbell Barton 2009-08-16 03:51:25 +00:00
parent 573678df48
commit 38aef3c3d4

@ -1826,7 +1826,8 @@ ListBase *get_active_constraints2(Object *ob)
if (!ob)
return NULL;
if (ob->flag & OB_POSEMODE) {
// XXX - shouldnt we care about the pose data and not the mode???
if (ob->mode & OB_MODE_POSE) {
bPoseChannel *pchan;
pchan = get_active_posechannel2(ob);