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>2014-04-17 07:43:11 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-04-17 09:37:09 +0400
commit01a4a09f29974ff7c5c381f399aed143df716cc9 (patch)
tree775896c3e80efccf3ea59272767bbb02b7641ba5 /source/blender/freestyle/intern/view_map/ViewMapIterators.h
parent77b37fa4615dc1e8d5656259744f0e8a1634e258 (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/view_map/ViewMapIterators.h')
-rw-r--r--source/blender/freestyle/intern/view_map/ViewMapIterators.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/view_map/ViewMapIterators.h b/source/blender/freestyle/intern/view_map/ViewMapIterators.h
index 2794d9028d2..469c2c3b29c 100644
--- a/source/blender/freestyle/intern/view_map/ViewMapIterators.h
+++ b/source/blender/freestyle/intern/view_map/ViewMapIterators.h
@@ -66,8 +66,8 @@ public:
friend class ViewEdge;
// FIXME
- typedef ::TVertex::edge_pointers_container edge_pointers_container;
- typedef ::NonTVertex::edges_container edges_container;
+ typedef TVertex::edge_pointers_container edge_pointers_container;
+ typedef NonTVertex::edges_container edges_container;
protected:
Nature::VertexNature _Nature; // the nature of the underlying vertex
@@ -184,7 +184,7 @@ public:
/*! Returns a reference to the pointed orientedViewEdge.
* In the scripting language, you must call "getObject()" instead.
*/
- virtual ::ViewVertex::directedViewEdge& operator*() const
+ virtual ViewVertex::directedViewEdge& operator*() const
{
if (_Nature & Nature::T_VERTEX)
//return _tvertex_iter;
@@ -195,7 +195,7 @@ public:
/*! Returns a pointer to the pointed orientedViewEdge.
* Can't be called in the scripting language.
*/
- virtual ::ViewVertex::directedViewEdge *operator->() const
+ virtual ViewVertex::directedViewEdge *operator->() const
{
return &(operator*());
}
@@ -205,11 +205,11 @@ public:
virtual inline int increment()
{
if (_Nature & Nature::T_VERTEX) {
- ::ViewVertex::directedViewEdge tmp = (**_tvertex_iter);
+ ViewVertex::directedViewEdge tmp = (**_tvertex_iter);
++_tvertex_iter;
if (_tvertex_iter != _tend) {
// FIXME : pquoi deja ?
- ::ViewVertex::directedViewEdge tmp2 = (**_tvertex_iter);
+ ViewVertex::directedViewEdge tmp2 = (**_tvertex_iter);
if (tmp2.first == tmp.first)
++_tvertex_iter;
}