Fix guidedstroke in sceneviewer (#506)

Co-authored-by: manongjohn <manongjohn@users.noreply.github.com>
This commit is contained in:
manongjohn 2020-11-16 02:03:49 -05:00 committed by GitHub
parent 7672e2ebcb
commit b8cc17a0f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2127,8 +2127,8 @@ void SceneViewer::drawScene() {
args.m_osm = &osm;
args.m_xsheetLevel = xsheetLevel;
args.m_isPlaying = frameHandle->isPlaying();
if (app->getCurrentColumn()->getColumn() &&
!app->getCurrentColumn()->getColumn()->getSoundColumn())
if (app->getCurrentLevel() && app->getCurrentLevel()->getLevel() &&
!app->getCurrentLevel()->getLevel()->getSoundLevel())
args.m_currentFrameId =
app->getCurrentXsheet()
->getXsheet()