Skip to content

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

C

Fix preview undo collapse crash

JPUser1d8afa1a1a337
diff --git a/toonz/sources/common/tfx/trenderer.cpp b/toonz/sources/common/tfx/trenderer.cpp
index f9894e912..07143799f 100644
--- a/toonz/sources/common/tfx/trenderer.cpp
+++ b/toonz/sources/common/tfx/trenderer.cpp
@@ -884,6 +884,8 @@ void TRendererImp::notifyRenderFinished(bool isCanceled) {
for (PortContainerIterator it = portsCopy.begin(); it != portsCopy.end();
++it)
(*it)->onRenderFinished();
+
+ rootFx = TRasterFxP();
}
//================================================================================