aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/scripts
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2006-03-23 01:42:05 +0000
committerThomas Grill <xovo@users.sourceforge.net>2006-03-23 01:42:05 +0000
commit22eaba4518f85902489a35dbac0fd97654b59d43 (patch)
tree4b2ad06255e972b5fe1ddf813a1a2d8b135048a7 /externals/grill/py/scripts
parent246f98cb45a3e3e63eaf99dfed5a35bd1254ec13 (diff)
added message bundle functionality (pyext.Bundle class)
enable compiled-only scripts (without .py) small optimizations and fixes some optimizations and py reload fix better error message for reload with invalid args enable module packages (module/__init__.py[co]), now also for Max svn path=/trunk/; revision=4750
Diffstat (limited to 'externals/grill/py/scripts')
-rw-r--r--externals/grill/py/scripts/sendrecv.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/grill/py/scripts/sendrecv.py b/externals/grill/py/scripts/sendrecv.py
index a8b57469..9d873bae 100644
--- a/externals/grill/py/scripts/sendrecv.py
+++ b/externals/grill/py/scripts/sendrecv.py
@@ -135,7 +135,7 @@ class ex3(pyext._class):
"""Class constructor"""
# called scripting method should run on its own thread
- if self._isthreaded():
+ if self._isthreaded:
print "Threading is on"
self._detach(1)
@@ -143,7 +143,7 @@ class ex3(pyext._class):
"""Do some scripting - PD only!"""
num = 12 # number of objects
- ori = complex(150,150) # origin
+ ori = complex(150,180) # origin
rad = 100 # radius
l = range(num) # initialize list
@@ -152,7 +152,7 @@ class ex3(pyext._class):
for i in xrange(num):
l[i] = ori+rad*exp(complex(0,i*2*pi/num))
self._tocanvas("obj",l[i].real,l[i].imag,"bng",15,250,50,0,"empty","yeah"+str(i),"empty",0,-6,64,8,0,-1,-1)
- self._tocanvas("connect",2,0,3+i,0)
+ self._tocanvas("connect",6,0,7+i,0)
# blink
for i in range(10):