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-25 01:32:50 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-07-25 01:32:50 +0400
commitfc97e91a3efd7dec5f21ec0a8ba6b81a1db7b72d (patch)
tree66c07b30df1403da92b1fbf8f97147291c74e620 /source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
parent2860bc5d5b1b2495c52a64eb7b30490e24ca4a41 (diff)
soc-2008-mxcurioni: found and fixed all potential issues iterating over internal view-map data. The internal namespaces (ViewEdgeInternal, ViewVertexInternal, CurveInternal, StrokeInternal...) should NOT be included to prevent redefintion errors.
Diffstat (limited to 'source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp')
-rw-r--r--source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
index 72273e73a65..1f830261739 100644
--- a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
+++ b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.cpp
@@ -121,13 +121,13 @@ int CurvePointIterator___init__(BPy_CurvePointIterator *self, PyObject *args )
return -1;
if( !obj ){
- self->cp_it = new CurvePointIterator();
+ self->cp_it = new CurveInternal::CurvePointIterator();
} else if( BPy_CurvePointIterator_Check(obj) ) {
- self->cp_it = new CurvePointIterator(*( ((BPy_CurvePointIterator *) obj)->cp_it ));
+ self->cp_it = new CurveInternal::CurvePointIterator(*( ((BPy_CurvePointIterator *) obj)->cp_it ));
} else if( PyFloat_Check(obj) ) {
- self->cp_it = new CurvePointIterator( PyFloat_AsDouble(obj) );
+ self->cp_it = new CurveInternal::CurvePointIterator( PyFloat_AsDouble(obj) );
} else {
return -1;