Remove erroneous check.
git-svn-id: svn://localhost/ardour2/branches/3.0@8020 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
65a93adba6
commit
56910429f7
@ -1850,7 +1850,6 @@ TempoMarkerDrag::TempoMarkerDrag (Editor* e, ArdourCanvas::Item* i, bool c)
|
|||||||
void
|
void
|
||||||
TempoMarkerDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor)
|
TempoMarkerDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (_copy) {
|
if (_copy) {
|
||||||
|
|
||||||
// create a dummy marker for visual representation of moving the copy.
|
// create a dummy marker for visual representation of moving the copy.
|
||||||
@ -1870,13 +1869,6 @@ TempoMarkerDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor)
|
|||||||
_item = &new_marker->the_item ();
|
_item = &new_marker->the_item ();
|
||||||
_marker = new_marker;
|
_marker = new_marker;
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
MetricSection& section (_marker->tempo());
|
|
||||||
|
|
||||||
if (!section.movable()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Drag::start_grab (event, cursor);
|
Drag::start_grab (event, cursor);
|
||||||
|
Loading…
Reference in New Issue
Block a user