##// END OF EJS Templates
Fix empty domain detection...
Titta Heikkala -
r2711:76339f714f08
parent child
Show More
@@ -102,7 +102,7 qreal AbstractDomain::spanY() const
102
102
103 bool AbstractDomain::isEmpty() const
103 bool AbstractDomain::isEmpty() const
104 {
104 {
105 return qFuzzyIsNull(spanX()) || qFuzzyIsNull(spanY()) || m_size.isEmpty() ;
105 return qFuzzyCompare(spanX(), 0) || qFuzzyCompare(spanY(), 0) || m_size.isEmpty();
106 }
106 }
107
107
108 QPointF AbstractDomain::calculateDomainPoint(const QPointF &point) const
108 QPointF AbstractDomain::calculateDomainPoint(const QPointF &point) const
General Comments 0
You need to be logged in to leave comments. Login now