projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0db0f0
)
fix processor paste location - fixes #6536
author
Robin Gareus
<robin@gareus.org>
Mon, 24 Aug 2015 23:09:41 +0000
(
01:09
+0200)
committer
Robin Gareus
<robin@gareus.org>
Mon, 24 Aug 2015 23:09:41 +0000
(
01:09
+0200)
gtk2_ardour/processor_box.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/processor_box.cc
b/gtk2_ardour/processor_box.cc
index f6ce27a0c91115f16f7bbf2fd741854240cdb4ab..8a913641a36f2eded59c48323ccd0bc69b6d3248 100644
(file)
--- a/
gtk2_ardour/processor_box.cc
+++ b/
gtk2_ardour/processor_box.cc
@@
-1357,6
+1357,14
@@
ProcessorBox::processor_operation (ProcessorOperation op)
break;
case ProcessorsPaste:
+ // some processors are not selectable (e.g fader, meter), target is empty.
+ if (targets.empty() && _placement >= 0) {
+ assert (_route);
+ boost::shared_ptr<Processor> proc = _route->before_processor_for_index (_placement);
+ if (proc) {
+ targets.push_back (proc);
+ }
+ }
if (targets.empty()) {
paste_processors ();
} else {