Skip to content

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

C

Fix synthax

Ahl761cc45cef6c54
diff --git a/toonz/sources/toonz/levelcreatepopup.cpp b/toonz/sources/toonz/levelcreatepopup.cpp
index 6ccca7fdb..d863c0006 100644
--- a/toonz/sources/toonz/levelcreatepopup.cpp
+++ b/toonz/sources/toonz/levelcreatepopup.cpp
@@ -651,10 +651,9 @@ bool LevelCreatePopup::apply() {
for (int i = from; i <= to; i += inc) {
TFrameId fid(i);
-
if (lType == PLI_XSHLEVEL) {
sl->setFrame(fid, new TVectorImage());
- else if (lType == META_XSHLEVEL) {
+ } else if (lType == META_XSHLEVEL) {
TImageP metaImg(new TMetaImage());
// Add default assistant to first frame only when Auto-Switch & Keep is
// enabled and a type is memorized