soc-2008-mxcurioni: made considerable changes to support cross-language polymorphism...
[blender-staging.git] / source / blender / freestyle / intern / python / UnaryFunction0D / BPy_UnaryFunction0DVec2f.cpp
index fb7fc4f19fe5501c6e2d555bf05c7dc604e959b1..3eedf16c5757fe6c10368e99c6420df0d3dfb504 100644 (file)
@@ -141,6 +141,7 @@ PyMODINIT_FUNC UnaryFunction0DVec2f_Init( PyObject *module ) {
 int UnaryFunction0DVec2f___init__(BPy_UnaryFunction0DVec2f* self)
 {
        self->uf0D_vec2f = new UnaryFunction0D<Vec2f>();
+       self->uf0D_vec2f->py_uf0D = (PyObject *)self;
        return 0;
 }