* Fix compilation errors on Windows hopefully. Implemented the suggestion done
by Aphex - thanks. * Added the doc strings to the Object module. * Added more functionality to the Object module.
This commit is contained in:
@@ -148,7 +148,7 @@ static int BonePrint (C_Bone *bone, FILE *fp, int flags);
|
||||
/*****************************************************************************/
|
||||
static PyTypeObject Bone_Type =
|
||||
{
|
||||
PyObject_HEAD_INIT(&PyType_Type)
|
||||
PyObject_HEAD_INIT(NULL)
|
||||
0, /* ob_size */
|
||||
"Bone", /* tp_name */
|
||||
sizeof (C_Bone), /* tp_basicsize */
|
||||
@@ -224,6 +224,8 @@ PyObject *M_Bone_Init (void)
|
||||
{
|
||||
PyObject *submodule;
|
||||
|
||||
Bone_Type.ob_type = &PyType_Type;
|
||||
|
||||
printf ("In M_Bone_Init()\n");
|
||||
|
||||
submodule = Py_InitModule3("Blender.Armature.Bone",
|
||||
|
Reference in New Issue
Block a user