fix lua instrument plugins
authorRobin Gareus <robin@gareus.org>
Thu, 19 May 2016 13:13:36 +0000 (15:13 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 19 May 2016 14:29:20 +0000 (16:29 +0200)
libs/ardour/luaproc.cc

index afdf7802043d604c263c3691bf50704634fc903c..eb67d5c384b053fe39d5324bb28fe3123a8412a1 100644 (file)
@@ -1167,6 +1167,8 @@ LuaPluginInfo::LuaPluginInfo (LuaScriptInfoPtr lsi) {
        n_inputs.set (DataType::AUDIO, 1);
        n_outputs.set (DataType::AUDIO, 1);
        type = Lua;
+
+       _is_instrument = category == "Instrument";
 }
 
 PluginPtr