diff --git a/toonz/sources/include/tgeometry.h b/toonz/sources/include/tgeometry.h index 8abcd2d..fb5c7a0 100644 --- a/toonz/sources/include/tgeometry.h +++ b/toonz/sources/include/tgeometry.h @@ -143,7 +143,7 @@ inline bool operator==(const TPointT &p0, const TPointT &p1) { } template inline bool operator!=(const TPointT &p0, const TPointT &p1) { - return p0.x != p1.x && p0.y != p1.y; + return p0.x != p1.x || p0.y != p1.y; } //-----------------------------------------------------------------------------