OpenToonz - An open-source full-featured 2D animation creation software
C
Show Renamed Names in MacroFx (#1355)
Jeremy Bullock6f642b339933
diff --git a/toonz/sources/toonzqt/fxschematicnode.cpp b/toonz/sources/toonzqt/fxschematicnode.cppindex 4b32ac1ad..01a51ca9c 100644--- a/toonz/sources/toonzqt/fxschematicnode.cpp+++ b/toonz/sources/toonzqt/fxschematicnode.cpp@@ -2590,14 +2590,16 @@ FxSchematicNormalFxNode::FxSchematicNormalFxNode(FxSchematicScene *scene,std::vector<TFxP> macroFxs = macroFx->getFxs();int j;for (j = 0; j < (int)macroFxs.size(); j++) {- TFx *inMacroFx = macroFxs[j].getPointer();+ TFx *inMacroFx = macroFxs[j].getPointer();+ std::wstring fxName = inMacroFx->getName();+ QString qFxName = QString::fromStdWString(fxName);if (inMacroFx->getFxId() == qInMacroFxId.toStdWString()) {int count = inMacroFx->getInputPortCount();if (count == 1)- qPortName = qInMacroFxId;+ qPortName = qFxName;else {qPortName.remove(1, qPortName.size());- qPortName += ". " + qInMacroFxId;+ qPortName += ". " + qFxName;}}}