Fix raster crash after unhiding column (#2369)
This commit is contained in:
parent
45df1147f4
commit
648efa7db5
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue