summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-17 03:26:45 +0000
committerDavid Robillard <d@drobilla.net>2014-11-17 03:26:45 +0000
commit3252cbfced71dc04fe0575481c9c91662e5b9ee6 (patch)
tree90ad19c993de9a3d2f1fee5982a7b659b2841cdd
parentd1a3e93b59aea5c37ca0260ba4b81c49ce469a5c (diff)
downloadingen-3252cbfced71dc04fe0575481c9c91662e5b9ee6.tar.gz
ingen-3252cbfced71dc04fe0575481c9c91662e5b9ee6.tar.bz2
ingen-3252cbfced71dc04fe0575481c9c91662e5b9ee6.zip
Fix broken call for scala modules.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5482 a436a847-0d15-0410-975c-d299462d15a1
-rwxr-xr-xscripts/ingenams5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/ingenams b/scripts/ingenams
index 94f49bbc..95b7d286 100755
--- a/scripts/ingenams
+++ b/scripts/ingenams
@@ -184,8 +184,7 @@ def ladspa_module(world, mod_id, x, y, poly, lib, label):
print('MOD %3d LADSPA %s %s %s' % (mod_id, poly, lib, label))
def scala_module(world, mod_id, scala_name):
- #print('MOD %3d SCALA %s' % (d, scala_name))
- pass
+ sys.stderr.write('warning: scala module %3d (%s) unsupported\n' % (d, scala_name))
def standard_module(world, mod_id, x, y, name, arg):
if name == 'vca':
@@ -242,8 +241,8 @@ for l in in_file:
if mod_type == Special.LADSPA:
ladspa_module(world, mod_id, mod_x, mod_y, int(expr[5]), expr[6], expr[7])
elif mod_type == Special.SCMCV or mod_type == Special.SCQUANTIZER:
- scale_module(world, mod_id, module_types[mod_type], expr[5])
scala_name = expr[5]
+ scala_module(world, mod_id, scala_name)
else:
standard_module(world, mod_id, mod_x, mod_y, module_types[mod_type], expr[5])
elif expr[0] == 'ColorP':