OpenToonz - An open-source full-featured 2D animation creation software
C
Fix TLV Bounds Visualiazation
Abel Youe0de4475cb63
diff --git a/toonz/sources/tnztools/filltool.cpp b/toonz/sources/tnztools/filltool.cppindex ee10636cc..868db52e2 100644--- a/toonz/sources/tnztools/filltool.cpp+++ b/toonz/sources/tnztools/filltool.cpp@@ -2442,8 +2442,7 @@ void FillTool::draw() {if (ti) {TRectD bbox =ToonzImageUtils::convertRasterToWorld(convert(ti->getBBox()), ti);- drawRect(bbox.enlarge(0.5) * ti->getSubsampling(), TPixel32::Black,- 0x5555, true);+ drawRect(bbox * ti->getSubsampling(), TPixel32::Black, 0x5555, true);}}if (m_fillType.getValue() != NORMALFILL) {diff --git a/toonz/sources/toonzlib/stagevisitor.cpp b/toonz/sources/toonzlib/stagevisitor.cppindex 170e9667c..edc40d30a 100644--- a/toonz/sources/toonzlib/stagevisitor.cpp+++ b/toonz/sources/toonzlib/stagevisitor.cpp@@ -690,7 +690,8 @@ void RasterPainter::flushRasterImages() {glLoadIdentity();tglColor(TPixel(200, 200, 200));tglMultMatrix(m_nodes[current].m_aff);- tglDrawRect(m_nodes[current].m_raster->getBounds());+ tglDrawRect(TRect(0, 0, m_nodes[current].m_raster->getLx(),+ m_nodes[current].m_raster->getLy()));glPopMatrix();}