diff --git a/toonz/sources/tnztools/rasterselectiontool.cpp b/toonz/sources/tnztools/rasterselectiontool.cpp index 174b54e..62b4cfc 100644 --- a/toonz/sources/tnztools/rasterselectiontool.cpp +++ b/toonz/sources/tnztools/rasterselectiontool.cpp @@ -255,6 +255,7 @@ void DragSelectionTool::RasterDeformTool::applyTransform(FourPoints bbox) { FourPoints realBbox = bbox * selection->getTransformation().inv(); RasterFreeDeformer *freeDeformer = (RasterFreeDeformer *)tool->getFreeDeformer(); + if (!freeDeformer) return; freeDeformer->setNoAntialiasing(tool->getNoAntialiasingValue()); freeDeformer->setPoints(realBbox.getP00(), realBbox.getP10(), realBbox.getP11(), realBbox.getP01());