diff options
-rw-r--r-- | source/blender/python/api2_2x/Object.c | 6 | ||||
-rw-r--r-- | source/blender/python/api2_2x/doc/Object.py | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index 0a191177719..8f3a55c201e 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -5351,7 +5351,11 @@ static PyObject *M_Object_ParentTypesDict( void ) BPy_constant *d = ( BPy_constant * ) M; PyConstant_Insert( d, "OBJECT", PyInt_FromLong( PAROBJECT ) ); PyConstant_Insert( d, "CURVE", PyInt_FromLong( PARCURVE ) ); - PyConstant_Insert( d, "LATTICE", PyInt_FromLong( PARKEY ) ); + + /* 2.43 was released as LATTICE as PARKEY, my bad, + lattice uses PARSKEL also - Campbell */ + PyConstant_Insert( d, "LATTICE", PyInt_FromLong( PARSKEL ) ); + PyConstant_Insert( d, "ARMATURE", PyInt_FromLong( PARSKEL ) ); PyConstant_Insert( d, "VERT1", PyInt_FromLong( PARVERT1 ) ); PyConstant_Insert( d, "VERT3", PyInt_FromLong( PARVERT3 ) ); diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py index 1b035e1f2c8..1ba6f429d85 100644 --- a/source/blender/python/api2_2x/doc/Object.py +++ b/source/blender/python/api2_2x/doc/Object.py @@ -56,7 +56,7 @@ Example:: @var ParentTypes: Constant dict used for with L{Object.parentType} attribute. - OBJECT: Object parent type. - CURVE: Curve deform parent type. - - LATTICE: Lattice deform parent type. + - LATTICE: Lattice deform parent type. Note: This is the same as ARMATURE, 2.43 was released with LATTICE as an invalid value. - ARMATURE: Armature deform parent type. - VERT1: 1 mesh vert parent type. - VERT3: 1 mesh verts parent type. |