Skip to content

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

C

Disable icon ChessBackground (accidentally also for filebrowser)

flurickf3a062c9de3c
diff --git a/toonz/sources/toonzqt/icongenerator.cpp b/toonz/sources/toonzqt/icongenerator.cpp
index d0c4c5ed7..fc9a03979 100644
--- a/toonz/sources/toonzqt/icongenerator.cpp
+++ b/toonz/sources/toonzqt/icongenerator.cpp
@@ -1086,9 +1086,9 @@ Qt::transparent)
bbox = (bbox * icon->getBounds())
.enlarge(-1); // Add a 1 pixel transparent margin - this
- if (bbox.getLx() > 0 &&
- bbox.getLy() > 0) // way the actual content doesn't look trimmed.
- ::makeChessBackground(icon->extract(bbox));
+ //if (bbox.getLx() > 0 &&
+ // bbox.getLy() > 0) // way the actual content doesn't look trimmed.
+ // ::makeChessBackground(icon->extract(bbox));
} else
icon->fill(TPixel32(255, 0, 0));