Skip to content

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

C

fix crash on fx schematic

shun-iwasawaea18a6973b6b
diff --git a/toonz/sources/toonzqt/fxschematicnode.cpp b/toonz/sources/toonzqt/fxschematicnode.cpp
index b50b35f13..24dcc76c8 100644
--- a/toonz/sources/toonzqt/fxschematicnode.cpp
+++ b/toonz/sources/toonzqt/fxschematicnode.cpp
@@ -1239,7 +1239,6 @@ void FxSchematicPort::paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
QWidget *widget) {
if (m_isPassThrough && getLinkCount() > 0) return;
- int devicePixelRatio = getDevicePixelRatio(widget);
// large scaled
if (getDock()->getNode()->isNormalIconView()) {
switch (getType()) {