Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Hughes <khughes@pacific.edu>2006-06-14 08:41:31 +0400
committerKen Hughes <khughes@pacific.edu>2006-06-14 08:41:31 +0400
commitda33f51b76b0300eda44ec79ffcd516be606d13e (patch)
tree6deb462101ba425f7a256da490f2b8070dc35aef /source/blender/python/api2_2x/Types.c
parent090678de6630999b1d4accd0a448355e7b7dacd2 (diff)
===Python API===
Moved .up() and .down() methods from Modifier API to Modifier sequence API (also renamed them to moveUp() and moveDown() ). Locating methods which modify the "parent" structure in objects didn't seem consistent.
Diffstat (limited to 'source/blender/python/api2_2x/Types.c')
-rw-r--r--source/blender/python/api2_2x/Types.c8
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 858e733fb61..1dadcfc90c4 100644
--- a/source/blender/python/api2_2x/Types.c
+++ b/source/blender/python/api2_2x/Types.c
@@ -59,7 +59,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, ModSeq_Type;
+extern PyTypeObject Modifier_Type, Modifiers_Type;
char M_Types_doc[] = "The Blender Types module\n\n\
This module is a dictionary of all Blender Python types";
@@ -123,7 +123,7 @@ void types_InitAll( void )
property_Type.ob_type = &PyType_Type;
point_Type.ob_type = &PyType_Type;
PyType_Ready( &Modifier_Type );
- PyType_Ready( &ModSeq_Type );
+ PyType_Ready( &Modifiers_Type );
}
@@ -229,8 +229,8 @@ PyObject *Types_Init( void )
( PyObject * ) &point_Type );
PyDict_SetItemString( dict, "ModifierType",
( PyObject * ) &Modifier_Type );
- PyDict_SetItemString( dict, "ModSeqType",
- ( PyObject * ) &ModSeq_Type );
+ PyDict_SetItemString( dict, "ModifiersType",
+ ( PyObject * ) &Modifiers_Type );
return submodule;
}