diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2010-07-24 13:26:05 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2010-07-24 13:26:05 +0400 |
commit | eabbbcdff9c26f5d8e757e7103e63d004d606410 (patch) | |
tree | b0f4b4e0bdec2cb06ff934ca675038ef51ff1eef /source/gameengine/Expressions/PyObjectPlus.cpp | |
parent | 1e816635b0c42ed0912807c77eb8e5685e5c7995 (diff) |
Fixing a crash when using either BL_ArmatureBone.parent and BL_ArmatureBone.children.
Diffstat (limited to 'source/gameengine/Expressions/PyObjectPlus.cpp')
-rw-r--r-- | source/gameengine/Expressions/PyObjectPlus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Expressions/PyObjectPlus.cpp b/source/gameengine/Expressions/PyObjectPlus.cpp index e2642566a80..32bf4ba95c4 100644 --- a/source/gameengine/Expressions/PyObjectPlus.cpp +++ b/source/gameengine/Expressions/PyObjectPlus.cpp @@ -278,7 +278,7 @@ PyObject *PyObjectPlus::py_get_attrdef(PyObject *self_py, const PyAttributeDef * // the attribute has no field correspondance, handover processing to function. if (attrdef->m_getFunction == NULL) return NULL; - return (*attrdef->m_getFunction)(ref, attrdef); + return (*attrdef->m_getFunction)(ptr, attrdef); } ptr += attrdef->m_offset; if (attrdef->m_length > 1) |