Fix raster crash after unhiding column (#2369)

This commit is contained in:
manongjohn 2018-12-19 20:52:15 -05:00 committed by shun-iwasawa
parent 45df1147f4
commit 648efa7db5

View file

@ -381,6 +381,8 @@ void FullColorBrushTool::leftButtonUp(const TPointD &pos,
TRasterImageP ri = (TRasterImageP)getImage(true);
if (!ri) return;
if (!m_toonz_brush) return;
TRasterP ras = ri->getRaster();
TPointD rasCenter = ras->getCenterD();
TPointD point(pos + rasCenter);