diff --git a/toonz/sources/tnztools/fullcolorbrushtool.cpp b/toonz/sources/tnztools/fullcolorbrushtool.cpp index 08fb0aa..ce46995 100644 --- a/toonz/sources/tnztools/fullcolorbrushtool.cpp +++ b/toonz/sources/tnztools/fullcolorbrushtool.cpp @@ -350,6 +350,8 @@ void FullColorBrushTool::leftButtonDrag(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);