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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-01-28 00:17:49 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-01-28 00:17:49 +0400
commit156acd3370a4f9090dc1507f275bf2cb695ac371 (patch)
treef19c6234d4ddb2bbf193f49cda2b224fc62d64fb /source/blender/freestyle/intern/python/BPy_Interface0D.cpp
parent39f8b95443f5dc83a24fb2c85847ea45e018925e (diff)
Freestyle Python API improvements - part 1.
* The API syntax of StrokeVertex and StrokeAttribute was updated by means of getter/setter properties instead of class methods. Python style modules (including the Parameter Editor implementation) were updated accordingly. * Code clean-up was done for a few Python style modules, mostly by removing duplicated definitions of stroke shaders and fixing indentation.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Interface0D.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_Interface0D.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Interface0D.cpp b/source/blender/freestyle/intern/python/BPy_Interface0D.cpp
index 11af30439cf..be8b87cd1bc 100644
--- a/source/blender/freestyle/intern/python/BPy_Interface0D.cpp
+++ b/source/blender/freestyle/intern/python/BPy_Interface0D.cpp
@@ -57,6 +57,8 @@ int Interface0D_Init( PyObject *module )
Py_INCREF( &TVertex_Type );
PyModule_AddObject(module, "TVertex", (PyObject *)&TVertex_Type);
+ StrokeVertex_mathutils_register_callback();
+
return 0;
}