aboutsummaryrefslogtreecommitdiff
path: root/behaviors/Circle.py
diff options
context:
space:
mode:
Diffstat (limited to 'behaviors/Circle.py')
-rw-r--r--behaviors/Circle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/behaviors/Circle.py b/behaviors/Circle.py
index f3e103b..24d71f1 100644
--- a/behaviors/Circle.py
+++ b/behaviors/Circle.py
@@ -15,7 +15,7 @@ class Circle(Behavior):
data[self['Id']+'Radius'] = self['Radius']
rad = data[self['Id']+'Radius']
cond = '>=' if self['Outside'] else '<='
- circleStr = 'math.sqrt(({x}-'+str(xLoc)+')**2+(({y}-'+str(yLoc)+')**2)*2)'+cond+str(rad)
+ circleStr = 'math.sqrt(({x}-'+str(xLoc)+')**2+(({y}-'+str(yLoc)+')**2))'+cond+str(rad)
if self['Combine']:
data['Location'] += ',' + circleStr
else: