projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix setting Plugin-Owner (route) for analysis plugins
[ardour.git]
/
libs
/
ardour
/
luaproc.cc
diff --git
a/libs/ardour/luaproc.cc
b/libs/ardour/luaproc.cc
index bae1bd6d3dd2435a141b85d7e9bbf9f53fbce908..5b829a742b39f7301fe9c089785f87dff910c34f 100644
(file)
--- a/
libs/ardour/luaproc.cc
+++ b/
libs/ardour/luaproc.cc
@@
-174,6
+174,9
@@
LuaProc::init ()
boost::weak_ptr<Route>
LuaProc::route () const
{
+ if (!_owner) {
+ return boost::weak_ptr<Route>();
+ }
return static_cast<Route*>(_owner)->weakroute ();
}