src/editmodes/circleMode.cc

changeset 840
d077dd19bf9a
parent 830
a741a0b9df49
child 842
e1c9010eb9e8
--- a/src/editmodes/circleMode.cc	Sun Jul 13 20:28:52 2014 +0300
+++ b/src/editmodes/circleMode.cc	Sun Jul 13 20:40:24 2014 +0300
@@ -61,7 +61,7 @@
 	{
 		if (transform[i] == 2)
 			transform[i] = scale;
-		elif (transform[i] == 1 && renderer()->camera() >= 3)
+		elif (transform[i] == 1 and renderer()->camera() >= 3)
 			transform[i] = -1;
 	}
 
@@ -88,7 +88,7 @@
 		transform = getCircleDrawMatrix (dist0);
 		circleOrDisc = true;
 	}
-	elif (dist0 == 0 || dist1 == 0)
+	elif (dist0 == 0 or dist1 == 0)
 	{
 		// If either radii is 0, use a disc.
 		refFile = getDocument ("4-4disc.dat");
@@ -159,7 +159,7 @@
 		}
 	}
 
-	if (circleOrDisc && refFile != null)
+	if (circleOrDisc and refFile != null)
 	{
 		LDSubfilePtr ref = spawn<LDSubfile>();
 		ref->setFileInfo (refFile);

mercurial