diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-12-28 09:47:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-12-28 09:47:56 +0300 |
commit | 8ea2b66810ee9e5a1234b606eff3a9332044eac2 (patch) | |
tree | 46ece0927276cc4e7387aeb1cc69de87595d61a3 /source/blender/python/api2_2x/Types.c | |
parent | ab06e52343fbd45661388d4d41a636b4fb15629d (diff) |
Made it possible to copy modifiers from the python API
ob1.modifiers = ob2.modifiers
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r-- | source/blender/python/api2_2x/Types.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/Types.c b/source/blender/python/api2_2x/Types.c index 4442222844f..de34d6a3ca4 100644 --- a/source/blender/python/api2_2x/Types.c +++ b/source/blender/python/api2_2x/Types.c @@ -61,7 +61,7 @@ extern PyTypeObject property_Type; extern PyTypeObject buffer_Type, constant_Type, euler_Type; extern PyTypeObject matrix_Type, quaternion_Type, rgbTuple_Type, vector_Type; extern PyTypeObject point_Type; -extern PyTypeObject Modifier_Type, Modifiers_Type; +extern PyTypeObject Modifier_Type, ModSeq_Type; extern PyTypeObject EditBone_Type; extern PyTypeObject ThemeSpace_Type; extern PyTypeObject ThemeUI_Type; @@ -130,7 +130,7 @@ void types_InitAll( void ) property_Type.ob_type = &PyType_Type; point_Type.ob_type = &PyType_Type; PyType_Ready( &Modifier_Type ); - PyType_Ready( &Modifiers_Type ); + PyType_Ready( &ModSeq_Type ); PyType_Ready( &EditBone_Type ); PyType_Ready( &ThemeSpace_Type ); PyType_Ready( &ThemeUI_Type ); @@ -241,8 +241,8 @@ PyObject *Types_Init( void ) ( PyObject * ) &point_Type ); PyDict_SetItemString( dict, "ModifierType", ( PyObject * ) &Modifier_Type ); - PyDict_SetItemString( dict, "ModifiersType", - ( PyObject * ) &Modifiers_Type ); + PyDict_SetItemString( dict, "ModSeqType", + ( PyObject * ) &ModSeq_Type ); PyDict_SetItemString( dict, "EditBoneType", ( PyObject * ) &EditBone_Type); PyDict_SetItemString( dict, "ThemeSpaceType", |