small fix in apply transformations

This commit is contained in:
Mario Voigt 2020-08-09 01:56:01 +02:00
parent 69ba527db0
commit ecbb8bf340

View File

@ -126,7 +126,7 @@ class ApplyTransform(inkex.Effect):
if not isequal(edgex, edgey) and ( if not isequal(edgex, edgey) and (
node.TAG == "circle" node.TAG == "circle"
or not isequal(newxy2[0], newxy3[0]) or not isequal(newxy2[0], newxy3[0])
or not isequal(newxy1[1] != newxy2[1]) or not isequal(newxy1[1], newxy2[1])
): ):
inkex.utils.errormsg( inkex.utils.errormsg(
"Warning: Shape %s (%s) is approximate only, try Object to path first for better results" "Warning: Shape %s (%s) is approximate only, try Object to path first for better results"