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.h
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.h')
-rw-r--r--source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h
index 652f6fffb97..e8f082216de 100644
--- a/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h
+++ b/source/blender/freestyle/intern/python/Iterator/BPy_CurvePointIterator.h
@@ -2,7 +2,6 @@
#define FREESTYLE_PYTHON_CURVEPOINTITERATOR_H
#include "../../stroke/CurveIterators.h"
-using namespace CurveInternal;
#include "../BPy_Iterator.h"
@@ -21,7 +20,7 @@ extern PyTypeObject CurvePointIterator_Type;
/*---------------------------Python BPy_CurvePointIterator structure definition----------*/
typedef struct {
BPy_Iterator py_it;
- CurvePointIterator *cp_it;
+ CurveInternal::CurvePointIterator *cp_it;
} BPy_CurvePointIterator;
///////////////////////////////////////////////////////////////////////////////////////////