restore a moved placement of the assert taken out in the previous commit

git-svn-id: svn://localhost/ardour2/branches/3.0@7818 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-09-21 03:09:02 +00:00
parent 2c80ff4129
commit 5462d30076
1 changed files with 2 additions and 0 deletions

View File

@ -522,6 +522,8 @@ RegionMotionDrag::y_movement_allowed (int delta_track, layer_t delta_layer) cons
void
RegionMotionDrag::motion (GdkEvent* event, bool first_move)
{
assert (!_views.empty ());
/* Find the TimeAxisView that the pointer is now over */
pair<TimeAxisView*, int> const tv = _editor->trackview_by_y_position (_drags->current_pointer_y ());