13
0

Fix another place where regions can be inserted into a

playlist without also getting put into the master list.


git-svn-id: svn://localhost/ardour2/branches/3.0@12646 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-06-10 14:42:22 +00:00
parent 92bf2dc1c2
commit df6222b3b4

View File

@ -1013,7 +1013,7 @@ Editor::track_canvas_drag_motion (Glib::RefPtr<Gdk::DragContext> const & /*c*/,
return true; return true;
} }
boost::shared_ptr<Region> region_copy = RegionFactory::create (region); boost::shared_ptr<Region> region_copy = RegionFactory::create (region, true);
if (boost::dynamic_pointer_cast<AudioRegion> (region_copy) != 0 && if (boost::dynamic_pointer_cast<AudioRegion> (region_copy) != 0 &&
dynamic_cast<AudioTimeAxisView*> (tv.first) == 0) { dynamic_cast<AudioTimeAxisView*> (tv.first) == 0) {