mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-26 23:18:20 +01:00
Fix segfault on startup caused by previous patch.
git-svn-id: svn://localhost/ardour2/branches/3.0@6463 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8418f8cea6
commit
04bb3de7a5
1 changed files with 0 additions and 7 deletions
|
|
@ -4325,13 +4325,6 @@ Editor::idle_visual_changer ()
|
|||
update_tempo_based_rulers ();
|
||||
}
|
||||
if (p & VisualChange::TimeOrigin) {
|
||||
// Add a little extra so we can see the end marker
|
||||
nframes64_t e = 0;
|
||||
if (_session) {
|
||||
e = _session->current_end_frame ();
|
||||
}
|
||||
e += current_page_frames () / 10;
|
||||
horizontal_adjustment.set_upper (e / frames_per_unit);
|
||||
horizontal_adjustment.set_value (pending_visual_change.time_origin / frames_per_unit);
|
||||
}
|
||||
if (p & VisualChange::YOrigin) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue