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:
authorMichel Selten <michel@mselten.demon.nl>2003-06-03 00:15:50 +0400
committerMichel Selten <michel@mselten.demon.nl>2003-06-03 00:15:50 +0400
commita127b387607fea5c0433bde26517a9fe575e72f9 (patch)
treee2d960360b338cbcd0559d377cbdc36717f5b6d0 /source/blender/python/api2_2x/Curve.c
parent271dc5aaf1f025725cd71ffa78a4cdc2b19d8fef (diff)
* 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.
Diffstat (limited to 'source/blender/python/api2_2x/Curve.c')
-rw-r--r--source/blender/python/api2_2x/Curve.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Curve.c b/source/blender/python/api2_2x/Curve.c
index c1400bce146..bc9a9571f70 100644
--- a/source/blender/python/api2_2x/Curve.c
+++ b/source/blender/python/api2_2x/Curve.c
@@ -145,6 +145,9 @@ PyObject *M_Curve_Init (void)
{
PyObject *submodule;
printf ("In M_Curve_Init()\n");
+
+ Curve_Type.ob_type = &PyType_Type;
+
submodule = Py_InitModule3("Blender.Curve",M_Curve_methods, M_Curve_doc);
return (submodule);
}