mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Fix a bunch of the ol' trivial audio-specific-for-no-particular-reason things.
Re-addition of this sort of thing is now officially punishable by death ;) git-svn-id: svn://localhost/ardour2/branches/3.0@4603 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f12cfb3d87
commit
64bf6f004a
12 changed files with 104 additions and 171 deletions
|
|
@ -462,7 +462,7 @@ Editor::idle_drop_paths (vector<ustring> paths, nframes64_t frame, double ypos)
|
|||
void
|
||||
Editor::drop_paths_part_two (const vector<ustring>& paths, nframes64_t frame, double ypos)
|
||||
{
|
||||
AudioTimeAxisView* tv;
|
||||
RouteTimeAxisView* tv;
|
||||
|
||||
std::pair<TimeAxisView*, int> const tvp = trackview_by_y_position (ypos);
|
||||
if (tvp.first == 0) {
|
||||
|
|
@ -477,7 +477,7 @@ Editor::drop_paths_part_two (const vector<ustring>& paths, nframes64_t frame, do
|
|||
do_embed (paths, Editing::ImportDistinctFiles, ImportAsTrack, frame);
|
||||
}
|
||||
|
||||
} else if ((tv = dynamic_cast<AudioTimeAxisView*> (tvp.first)) != 0) {
|
||||
} else if ((tv = dynamic_cast<RouteTimeAxisView*> (tvp.first)) != 0) {
|
||||
|
||||
/* check that its an audio track, not a bus */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue