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:
authorMaxime Curioni <maxime.curioni@gmail.com>2008-07-26 23:32:47 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-07-26 23:32:47 +0400
commit13364bf2085097a8183c65242b3aba8f7d5c163b (patch)
tree07db99c3df941729cca314a4eb1f5376411808ba /source/blender/freestyle/intern/python/BPy_Iterator.cpp
parentb216e4d12d8e4e416724d33a9a4c017d2809e5d0 (diff)
soc-2008-mxcurioni: completed implementing ViewEdgeIterator and ChainingIterator. Updated UnaryPredicate{0D,1D}
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Iterator.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_Iterator.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Iterator.cpp b/source/blender/freestyle/intern/python/BPy_Iterator.cpp
index 6a613c5f5ab..f3612b1bd52 100644
--- a/source/blender/freestyle/intern/python/BPy_Iterator.cpp
+++ b/source/blender/freestyle/intern/python/BPy_Iterator.cpp
@@ -8,6 +8,10 @@
#include "Iterator/BPy_SVertexIterator.h"
#include "Iterator/BPy_orientedViewEdgeIterator.h"
#include "Iterator/BPy_ViewEdgeIterator.h"
+#include "Iterator/BPy_ChainingIterator.h"
+// #include "Iterator/BPy_ChainPredicateIterator.h"
+// #include "Iterator/BPy_ChainSilhouetteIterator.h"
+
#ifdef __cplusplus
@@ -167,6 +171,21 @@ PyMODINIT_FUNC Iterator_Init( PyObject *module )
Py_INCREF( &ViewEdgeIterator_Type );
PyModule_AddObject(module, "ViewEdgeIterator", (PyObject *)&ViewEdgeIterator_Type);
+ if( PyType_Ready( &ChainingIterator_Type ) < 0 )
+ return;
+ Py_INCREF( &ChainingIterator_Type );
+ PyModule_AddObject(module, "ChainingIterator", (PyObject *)&ChainingIterator_Type);
+
+ // if( PyType_Ready( &ChainPredicateIterator_Type ) < 0 )
+ // return;
+ // Py_INCREF( &ChainPredicateIterator_Type );
+ // PyModule_AddObject(module, "ChainPredicateIterator", (PyObject *)&ChainPredicateIterator_Type);
+ //
+ // if( PyType_Ready( &ChainSilhouetteIterator_Type ) < 0 )
+ // return;
+ // Py_INCREF( &ChainSilhouetteIterator_Type );
+ // PyModule_AddObject(module, "ChainSilhouetteIterator", (PyObject *)&ChainSilhouetteIterator_Type);
+
}