OpenToonz - An open-source full-featured 2D animation creation software
C
#assistants: fix link error at windows
Ivan Mahonin5d876644a163
diff --git a/toonz/sources/common/tgeometry/tgeometry.cpp b/toonz/sources/common/tgeometry/tgeometry.cppindex 5c2b704fa..d8bb6b666 100644--- a/toonz/sources/common/tgeometry/tgeometry.cpp+++ b/toonz/sources/common/tgeometry/tgeometry.cpp@@ -368,11 +368,6 @@ TAffine4 TAffine4::rotationZ(double angle) {//==================================================================================================-TAngleRangeSet::List::const_iterator TAngleRangeSet::Iterator::empty_iterator() {- static List list;- return list.end();-}-int TAngleRangeSet::find(Type a) const {assert(!m_angles.empty());int i0 = 0, i1 = m_angles.size() - 1;diff --git a/toonz/sources/include/tgeometry.h b/toonz/sources/include/tgeometry.hindex 80b737670..7654e26e9 100644--- a/toonz/sources/include/tgeometry.h+++ b/toonz/sources/include/tgeometry.h@@ -1349,7 +1349,9 @@ public:{ return Type(round((a/M_2PI + 0.5)*max)); }static double toDouble(Type a){ return ((double)a/(double)max - 0.5)*M_2PI; }-+ static List::const_iterator empty_iterator()+ { static List list; return list.end(); }+struct Range {Type a0, a1;Range(): a0(), a1() { }@@ -1367,8 +1369,6 @@ public:List::const_iterator m_current;bool m_lapped;- static List::const_iterator empty_iterator();-public:inline Iterator(): m_flip(), m_lapped(true){ reset(); }