diff --git a/toonz/sources/toonz/cleanuppopup.cpp b/toonz/sources/toonz/cleanuppopup.cpp index 4a90bfb..18869c3 100644 --- a/toonz/sources/toonz/cleanuppopup.cpp +++ b/toonz/sources/toonz/cleanuppopup.cpp @@ -476,7 +476,7 @@ void CleanupPopup::buildCleanupList() { const TXshCell &cell = xsh->getCell(r, c); if (cell.isEmpty()) continue; TXshSimpleLevel *sl = cell.getSimpleLevel(); - if (!sl && locals::supportsCleanup(sl)) continue; + if (!(sl && locals::supportsCleanup(sl))) continue; /*---もし新しいLevelなら、Levelのリストに登録---*/ std::map::iterator it = cleanupList.find(sl);