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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2009-07-25 03:34:25 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2009-07-25 03:34:25 +0400
commitaff53f52179927d9bb00c793555b50178d3e258a (patch)
treee70247895f7c31413463b0ba7c8a7b44efea6d36 /source/blender/freestyle/intern
parent2bcb57f29b57e6fa0f056b346f657046b07b50ed (diff)
Fixed compiler errors caused by the changes in revision 21700.
Diffstat (limited to 'source/blender/freestyle/intern')
-rw-r--r--source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp3
-rw-r--r--source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
index 686781ee22e..ad276a7521b 100644
--- a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
+++ b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
@@ -151,7 +151,8 @@ PyObject * CurvePointIterator_u( BPy_CurvePointIterator *self ) {
}
PyObject * CurvePointIterator_castToInterface0DIterator( BPy_CurvePointIterator *self ) {
- return BPy_Interface0DIterator_from_Interface0DIterator( self->cp_it->castToInterface0DIterator() );
+ Interface0DIterator it( self->cp_it->castToInterface0DIterator() );
+ return BPy_Interface0DIterator_from_Interface0DIterator( it );
}
PyObject * CurvePointIterator_getObject(BPy_CurvePointIterator *self) {
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp
index f33f1a76860..7f36856f359 100644
--- a/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp
+++ b/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp
@@ -167,7 +167,8 @@ PyObject * StrokeVertexIterator_u( BPy_StrokeVertexIterator *self ) {
}
PyObject * StrokeVertexIterator_castToInterface0DIterator( BPy_StrokeVertexIterator *self ) {
- return BPy_Interface0DIterator_from_Interface0DIterator( self->sv_it->castToInterface0DIterator() );
+ Interface0DIterator it( self->sv_it->castToInterface0DIterator() );
+ return BPy_Interface0DIterator_from_Interface0DIterator( it );
}
PyObject * StrokeVertexIterator_getObject( BPy_StrokeVertexIterator *self) {