diff options
-rw-r--r-- | source/gameengine/Converter/BL_ArmatureConstraint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Converter/BL_ArmatureConstraint.cpp b/source/gameengine/Converter/BL_ArmatureConstraint.cpp index 1e6e3557aa4..e515574df8b 100644 --- a/source/gameengine/Converter/BL_ArmatureConstraint.cpp +++ b/source/gameengine/Converter/BL_ArmatureConstraint.cpp @@ -322,7 +322,7 @@ PyObject *BL_ArmatureConstraint::py_attr_getattr(void *self_v, const struct KX_P else return self->m_subtarget->GetProxy(); case BCA_ACTIVE: - return PyBool_FromLong(constraint->flag & CONSTRAINT_OFF); + return PyBool_FromLong((constraint->flag & CONSTRAINT_OFF) == 0); case BCA_IKWEIGHT: case BCA_IKTYPE: case BCA_IKFLAG: |