Skip to content

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

C

Fix creating empty level fails (#317)

Keisuke Ogakib592dbfa79db
diff --git a/toonz/sources/toonzlib/txshsimplelevel.cpp b/toonz/sources/toonzlib/txshsimplelevel.cpp
index e9d478e5c..67c2e5dca 100644
--- a/toonz/sources/toonzlib/txshsimplelevel.cpp
+++ b/toonz/sources/toonzlib/txshsimplelevel.cpp
@@ -1887,6 +1887,7 @@ TImageP TXshSimpleLevel::createEmptyFrame()
switch (m_type) {
case PLI_XSHLEVEL:
result = new TVectorImage;
+ break;
case MESH_XSHLEVEL:
assert(false); // Not implemented yet