diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2008-07-27 15:27:59 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2008-07-27 15:27:59 +0400 |
commit | 2b2df54aefa61e249d21b09c2f6ca0b82be7bed4 (patch) | |
tree | 03375720c1a655367a4c94a8ffddf8e0ccdcebb1 /source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp | |
parent | 0cc6f9db3d70e443fa0162ab5bfddc55865ea70c (diff) |
soc-2008-mxcurioni: ported ALL 1D unary functions, representing 32 new classes.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp index f7c520b1492..02aef4e28cf 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DVectorViewShape.cpp @@ -168,7 +168,7 @@ PyObject * UnaryFunction0DVectorViewShape___call__( BPy_UnaryFunction0DVectorVie std::vector<ViewShape*> vs( self->uf0D_vectorviewshape->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) ); PyObject *list = PyList_New(NULL); - for( int i = 0; i < vs.size(); i++) + for( unsigned int i = 0; i < vs.size(); i++) PyList_Append(list, BPy_ViewShape_from_ViewShape(*( vs[i] )) ); return list; |