Update drawing.cpp
authorSuleyman TURKMEN <sturkmen@hotmail.com>
Sat, 4 Jun 2016 22:06:55 +0000 (01:06 +0300)
committerSuleyman TURKMEN <sturkmen@hotmail.com>
Sat, 4 Jun 2016 22:06:55 +0000 (01:06 +0300)
modules/imgproc/src/drawing.cpp

index 4396e0a..a73a30f 100644 (file)
@@ -1813,7 +1813,7 @@ void circle( InputOutputArray _img, Point center, int radius,
     double buf[4];
     scalarToRawData(color, buf, img.type(), 0);
 
-    if( thickness > 1 || line_type >= CV_AA || shift > 0 )
+    if( thickness > 1 || line_type != LINE_8 || shift > 0 )
     {
         center.x <<= XY_SHIFT - shift;
         center.y <<= XY_SHIFT - shift;