diff --git a/source/blender/python/api2_2x/Armature.c b/source/blender/python/api2_2x/Armature.c index 23fe3a4158b..f9aa80c5aaf 100644 --- a/source/blender/python/api2_2x/Armature.c +++ b/source/blender/python/api2_2x/Armature.c @@ -1130,7 +1130,7 @@ static PyObject *M_Armature_Get(PyObject * self, PyObject * args) goto RuntimeError; } if(size == 0){ //GET ALL ARMATURES - data = &(G.main->armature).first; //get the first data ID from the armature library + data = G.main->armature.first; //get the first data ID from the armature library while (data){ py_armature = PyArmature_FromArmature(data); //*new* sprintf(buffer, "%s", ((bArmature*)data)->id.name +2);