diff options
-rw-r--r-- | gtk2_ardour/luainstance.cc | 6 | ||||
-rw-r--r-- | libs/ardour/luabindings.cc | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/luainstance.cc b/gtk2_ardour/luainstance.cc index f8dbbc3e2a..7f77558f11 100644 --- a/gtk2_ardour/luainstance.cc +++ b/gtk2_ardour/luainstance.cc @@ -628,6 +628,9 @@ LuaInstance::register_classes (lua_State* L) .deriveClass <TimeAxisView, AxisView> ("TimeAxisView") .endClass () + .deriveClass <StripableTimeAxisView, TimeAxisView> ("StripableTimeAxisView") + .endClass () + .beginClass <Selectable> ("Selectable") .endClass () @@ -641,7 +644,8 @@ LuaInstance::register_classes (lua_State* L) .endClass () .deriveClass <RouteTimeAxisView, RouteUI> ("RouteTimeAxisView") - .addCast<TimeAxisView> ("to_timeaxisview") + .addCast<StripableTimeAxisView> ("to_stripabletimeaxisview") + .addCast<TimeAxisView> ("to_timeaxisview") // deprecated .endClass () // std::list<Selectable*> diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index f9d0575eee..0a3b880024 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -147,6 +147,7 @@ CLASSINFO(MarkerSelection); CLASSINFO(PublicEditor); CLASSINFO(RegionSelection); CLASSINFO(RegionView); +CLASSINFO(StripableTimeAxisView); CLASSINFO(RouteTimeAxisView); CLASSINFO(RouteUI); CLASSINFO(Selectable); |