diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-04-17 07:43:11 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-04-17 09:37:09 +0400 |
commit | 01a4a09f29974ff7c5c381f399aed143df716cc9 (patch) | |
tree | 775896c3e80efccf3ea59272767bbb02b7641ba5 /source/blender/freestyle/intern/stroke/CurveIterators.h | |
parent | 77b37fa4615dc1e8d5656259744f0e8a1634e258 (diff) |
Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 4).
(See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of
the problem).
Fix for a C++ scope issue caused by 'using namespace Freestyle' that was assumed
even within the Freestyle namespace definition.
Diffstat (limited to 'source/blender/freestyle/intern/stroke/CurveIterators.h')
-rw-r--r-- | source/blender/freestyle/intern/stroke/CurveIterators.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/freestyle/intern/stroke/CurveIterators.h b/source/blender/freestyle/intern/stroke/CurveIterators.h index f2272f2f9a9..c1bec1e3b65 100644 --- a/source/blender/freestyle/intern/stroke/CurveIterators.h +++ b/source/blender/freestyle/intern/stroke/CurveIterators.h @@ -43,15 +43,15 @@ namespace CurveInternal { class CurvePointIterator : public Interface0DIteratorNested { public: - friend class ::Curve; + friend class Curve; public: float _CurvilinearLength; float _step; - ::Curve::vertex_container::iterator __A; - ::Curve::vertex_container::iterator __B; - ::Curve::vertex_container::iterator _begin; - ::Curve::vertex_container::iterator _end; + Curve::vertex_container::iterator __A; + Curve::vertex_container::iterator __B; + Curve::vertex_container::iterator _begin; + Curve::vertex_container::iterator _end; int _n; int _currentn; float _t; @@ -104,8 +104,8 @@ public: virtual ~CurvePointIterator() {} protected: - inline CurvePointIterator(::Curve::vertex_container::iterator iA, ::Curve::vertex_container::iterator iB, - ::Curve::vertex_container::iterator ibegin, ::Curve::vertex_container::iterator iend, + inline CurvePointIterator(Curve::vertex_container::iterator iA, Curve::vertex_container::iterator iB, + Curve::vertex_container::iterator ibegin, Curve::vertex_container::iterator iend, int currentn, int n, float iCurveLength, float step, float t = 0.0f, float iCurvilinearLength = 0.0f) : Interface0DIteratorNested() |