Missed a guideline requirement.

git-svn-id: http://svn.robofab.com/branches/ufo3k@352 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
This commit is contained in:
Tal Leming 2011-09-30 19:12:05 +00:00
parent 597177a172
commit 2bcdd6b4ba

View File

@ -560,6 +560,9 @@ def guidelineValidator(value):
if x is None or y is None:
if angle is not None:
return False
# if x and y are defined, angle must be defined
if x is not None and y is not None and angle is None:
return False
# angle must be between 0 and 360
if angle is not None:
if angle < 0: