OpenToonz - An open-source full-featured 2D animation creation software
C
fix crash on closing scene with floating selection
shun_iwasawa0788f1f1980f
diff --git a/toonz/sources/tnztools/toolutils.cpp b/toonz/sources/tnztools/toolutils.cppindex f77ed0d2c..539b9ba98 100644--- a/toonz/sources/tnztools/toolutils.cpp+++ b/toonz/sources/tnztools/toolutils.cpp@@ -101,6 +101,7 @@ void ToolUtils::updateSaveBox(const TXshSimpleLevelP &sl, const TFrameId &fid) {TImageP img = sl->getFrame(fid, true); // The image will be modified (it// should already have been, though)+ if (!img) return;// Observe that the returned image will forcedly have subsampling 1::updateSaveBox(img);