soc-2008-mxcurioni: corrected problems in API with UnaryFunction1DVoid subclasses and Curvature2DAngleF1D. Understood that Curve and Noise classes cannot be defined in Freestyle's API because they are already given by Blender's API. Will rename to FrsCurve and FrsNoise and change the corresponding style modules.
This commit is contained in:
@@ -147,6 +147,11 @@ PyMODINIT_FUNC UnaryFunction1DDouble_Init( PyObject *module ) {
|
||||
Py_INCREF( &DensityF1D_Type );
|
||||
PyModule_AddObject(module, "DensityF1D", (PyObject *)&DensityF1D_Type);
|
||||
|
||||
if( PyType_Ready( &Curvature2DAngleF1D_Type ) < 0 )
|
||||
return;
|
||||
Py_INCREF( &Curvature2DAngleF1D_Type );
|
||||
PyModule_AddObject(module, "Curvature2DAngleF1D", (PyObject *)&Curvature2DAngleF1D_Type);
|
||||
|
||||
if( PyType_Ready( &GetCompleteViewMapDensityF1D_Type ) < 0 )
|
||||
return;
|
||||
Py_INCREF( &GetCompleteViewMapDensityF1D_Type );
|
||||
|
||||
Reference in New Issue
Block a user