Skip to content

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

C

fix crash on paste mesh node in stage schamatic (#2174)

shun-iwasawa99ef2eff68f8
diff --git a/toonz/sources/toonzqt/stageobjectselection.cpp b/toonz/sources/toonzqt/stageobjectselection.cpp
index dff2bed9b..bceff3a98 100644
--- a/toonz/sources/toonzqt/stageobjectselection.cpp
+++ b/toonz/sources/toonzqt/stageobjectselection.cpp
@@ -54,6 +54,7 @@ public:
TXshColumnP column = xsh->getColumn(it->getIndex());
assert(column);
TFx *columnFx = column->getFx();
+ if (!columnFx) continue;
int i;
for (i = 0; i < columnFx->getOutputConnectionCount(); i++)
m_columnFxConnections[*it].append(columnFx->getOutputConnection(i));