Operator '!' is supposed to be true when an angle is 'no rotation'. It was failing...
[synfig.git] / ETL / trunk / ETL / _angle.h
index 67989ca..bd3231a 100644 (file)
@@ -225,7 +225,7 @@ public:
                return ret;
        }
 
-       bool operator!()const { return v==0; }
+       bool operator!()const { return std::abs(mod().v) < epsilon; }
 
 private: