[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21872] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/python/Iterator: Fixed compiler errors caused by the changes in revision 21700.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Sat Jul 25 01:34:25 CEST 2009


Revision: 21872
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21872
Author:   kjym3
Date:     2009-07-25 01:34:25 +0200 (Sat, 25 Jul 2009)

Log Message:
-----------
Fixed compiler errors caused by the changes in revision 21700.

Revision Links:
--------------
    http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21700

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp	2009-07-24 23:07:18 UTC (rev 21871)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp	2009-07-24 23:34:25 UTC (rev 21872)
@@ -151,7 +151,8 @@
 }
 
 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) {

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp	2009-07-24 23:07:18 UTC (rev 21871)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp	2009-07-24 23:34:25 UTC (rev 21872)
@@ -167,7 +167,8 @@
 }
 
 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) {





More information about the Bf-blender-cvs mailing list