Don't draw measure lins a ton of times... but still drawn twice on initial session display :/
git-svn-id: svn://localhost/ardour2/trunk@2250 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -109,13 +109,11 @@ void
|
||||
ARDOUR_UI::goto_editor_window ()
|
||||
{
|
||||
editor->show_window ();
|
||||
editor->present();
|
||||
}
|
||||
void
|
||||
ARDOUR_UI::goto_mixer_window ()
|
||||
{
|
||||
mixer->show_window ();
|
||||
mixer->present();
|
||||
}
|
||||
|
||||
gint
|
||||
|
||||
@@ -823,8 +823,7 @@ Editor::set_entered_track (TimeAxisView* tav)
|
||||
void
|
||||
Editor::show_window ()
|
||||
{
|
||||
show_all ();
|
||||
present ();
|
||||
show_all_children ();
|
||||
|
||||
/* re-hide editor list if necessary */
|
||||
editor_list_button_toggled ();
|
||||
@@ -839,6 +838,8 @@ Editor::show_window ()
|
||||
tv = (static_cast<TimeAxisView*>(*i));
|
||||
tv->reset_height ();
|
||||
}
|
||||
|
||||
present ();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -138,7 +138,7 @@ Editor::redisplay_tempo (bool immediate_redraw)
|
||||
next_beat.ticks = 0;
|
||||
|
||||
if (current_bbt_points) {
|
||||
delete current_bbt_points;
|
||||
delete current_bbt_points;
|
||||
current_bbt_points = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -369,8 +369,6 @@ TimeAxisView::set_height_pixels (uint32_t h)
|
||||
/* resize the selection rect */
|
||||
show_selection (editor.get_selection().time);
|
||||
}
|
||||
|
||||
editor.redraw_measures();
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user