Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

streamline fx settings

shun-iwasawada0933e76e38
diff --git a/toonz/sources/toonzqt/fxsettings.cpp b/toonz/sources/toonzqt/fxsettings.cpp
index 8353809a1..e25285953 100644
--- a/toonz/sources/toonzqt/fxsettings.cpp
+++ b/toonz/sources/toonzqt/fxsettings.cpp
@@ -1345,7 +1345,7 @@ void FxSettings::setCurrentFx() {
actualFx->getAttributes()->enable(true);
if (hasEmptyInput)
currentFx = actualFx;
- else {
+ else if (m_viewer->isEnabled()) {
if (!m_isCameraModeView)
currentFx = buildSceneFx(scene, frame, actualFx, false);
else {
@@ -1353,7 +1353,8 @@ void FxSettings::setCurrentFx() {
scene->getProperties()->getPreviewProperties()->getRenderSettings();
currentFx = buildPartialSceneFx(scene, (double)frame, actualFx, 1, false);
}
- }
+ } else
+ currentFx = TFxP();
if (currentFx) currentFx = currentFx->clone(true);