comparison view/View.cpp @ 1479:9bf8aa2916e9 by-id

Further ModelId updates
author Chris Cannam
date Wed, 03 Jul 2019 14:20:42 +0100
parents c268fe2ad597
children e540aa5d89cd
comparison
equal deleted inserted replaced
1478:d39db4673676 1479:9bf8aa2916e9
1376 ModelId 1376 ModelId
1377 View::getAligningModel() const 1377 View::getAligningModel() const
1378 { 1378 {
1379 if (!m_manager || 1379 if (!m_manager ||
1380 !m_manager->getAlignMode() || 1380 !m_manager->getAlignMode() ||
1381 !m_manager->getPlaybackModel()) { 1381 m_manager->getPlaybackModel().isNone()) {
1382 return {}; 1382 return {};
1383 } 1383 }
1384 1384
1385 ModelId anyModel; 1385 ModelId anyModel;
1386 ModelId alignedModel; 1386 ModelId alignedModel;