diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-09-20 20:50:40 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-09-20 20:50:40 +0000 |
commit | 45da6684cbe9bd2fe199b0fd75a40f1c219b6341 (patch) | |
tree | 345b684c893d2bdfdc48d4e659068ff372dfd4eb /externals/grill/py/source/pyext.cpp | |
parent | 46f38b8d427735b339a98994b0db776b874f05ad (diff) |
*** empty log message ***
svn path=/trunk/; revision=3607
Diffstat (limited to 'externals/grill/py/source/pyext.cpp')
-rw-r--r-- | externals/grill/py/source/pyext.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/externals/grill/py/source/pyext.cpp b/externals/grill/py/source/pyext.cpp index dd4b5a67..633d4007 100644 --- a/externals/grill/py/source/pyext.cpp +++ b/externals/grill/py/source/pyext.cpp @@ -207,14 +207,13 @@ bool pyext::Init() else inlets = outlets = 0; - if(inlets < 0 || outlets < 0) - InitProblem(); - else { - AddInSignal(siginlets); - AddInAnything((siginlets?0:1)+inlets); - AddOutSignal(sigoutlets); - AddOutAnything(outlets); - } + if(inlets < 0) inlets = 0; + if(outlets < 0) outlets = 0; + + AddInSignal(siginlets); + AddInAnything((siginlets?0:1)+inlets); + AddOutSignal(sigoutlets); + AddOutAnything(outlets); Report(); PyUnlock(state); |