mostly fix 3409 by making it impossible to sync to JACK if video pull up/down is non-zero. missing: can still alter video pull up/down after syncing to JACK, will likely wait till post-3.0

git-svn-id: svn://localhost/ardour2/branches/3.0@7721 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-08-31 01:49:33 +00:00
parent b9dca83832
commit f13b700944
6 changed files with 73 additions and 7 deletions

View file

@ -1783,7 +1783,7 @@ Editor::add_region_context_items (StreamView* sv, list<boost::shared_ptr<Region>
RegionView* rv = sv->find_view (ar);
AudioRegionView* arv = dynamic_cast<AudioRegionView*> (rv);
if (arv->envelope_visible()) {
if (rv && arv && arv->envelope_visible()) {
have_envelope_visible = true;
} else {
have_envelope_invisible = true;