Fix passing ctrl-output data to lua inline display thread
authorRobin Gareus <robin@gareus.org>
Thu, 15 Sep 2016 11:59:22 +0000 (13:59 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 15 Sep 2016 12:01:43 +0000 (14:01 +0200)
libs/ardour/luaproc.cc

index 362b78510075ea7e5c19089f78b1cd9bfca36393..7b676167de79e931fe3446cb8ea5c71930121f54 100644 (file)
@@ -1035,7 +1035,7 @@ LuaProc::setup_lua_inline_gui (LuaState *lua_gui)
        luabridge::push <LuaProc *> (LG, this);
        lua_setglobal (LG, "self");
 
-       luabridge::push <float *> (LG, _shadow_data);
+       luabridge::push <float *> (LG, _control_data);
        lua_setglobal (LG, "CtrlPorts");
 }
 ////////////////////////////////////////////////////////////////////////////////