diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp b/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp index 0e33d3aea01..3f0464db93a 100644 --- a/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp +++ b/source/blender/freestyle/intern/python/BPy_UnaryPredicate1D.cpp @@ -61,17 +61,17 @@ int UnaryPredicate1D_Init(PyObject *module) return -1; Py_INCREF(&UnaryPredicate1D_Type); PyModule_AddObject(module, "UnaryPredicate1D", (PyObject *)&UnaryPredicate1D_Type); - + if (PyType_Ready(&ContourUP1D_Type) < 0) return -1; Py_INCREF(&ContourUP1D_Type); PyModule_AddObject(module, "ContourUP1D", (PyObject *)&ContourUP1D_Type); - + if (PyType_Ready(&DensityLowerThanUP1D_Type) < 0) return -1; Py_INCREF(&DensityLowerThanUP1D_Type); PyModule_AddObject(module, "DensityLowerThanUP1D", (PyObject *)&DensityLowerThanUP1D_Type); - + if (PyType_Ready(&EqualToChainingTimeStampUP1D_Type) < 0) return -1; Py_INCREF(&EqualToChainingTimeStampUP1D_Type); @@ -81,27 +81,27 @@ int UnaryPredicate1D_Init(PyObject *module) return -1; Py_INCREF(&EqualToTimeStampUP1D_Type); PyModule_AddObject(module, "EqualToTimeStampUP1D", (PyObject *)&EqualToTimeStampUP1D_Type); - + if (PyType_Ready(&ExternalContourUP1D_Type) < 0) return -1; Py_INCREF(&ExternalContourUP1D_Type); PyModule_AddObject(module, "ExternalContourUP1D", (PyObject *)&ExternalContourUP1D_Type); - + if (PyType_Ready(&FalseUP1D_Type) < 0) return -1; Py_INCREF(&FalseUP1D_Type); PyModule_AddObject(module, "FalseUP1D", (PyObject *)&FalseUP1D_Type); - + if (PyType_Ready(&QuantitativeInvisibilityUP1D_Type) < 0) return -1; Py_INCREF(&QuantitativeInvisibilityUP1D_Type); PyModule_AddObject(module, "QuantitativeInvisibilityUP1D", (PyObject *)&QuantitativeInvisibilityUP1D_Type); - + if (PyType_Ready(&ShapeUP1D_Type) < 0) return -1; Py_INCREF(&ShapeUP1D_Type); PyModule_AddObject(module, "ShapeUP1D", (PyObject *)&ShapeUP1D_Type); - + if (PyType_Ready(&TrueUP1D_Type) < 0) return -1; Py_INCREF(&TrueUP1D_Type); @@ -111,7 +111,7 @@ int UnaryPredicate1D_Init(PyObject *module) return -1; Py_INCREF(&WithinImageBoundaryUP1D_Type); PyModule_AddObject(module, "WithinImageBoundaryUP1D", (PyObject *)&WithinImageBoundaryUP1D_Type); - + return 0; } |