diff --git a/toonz/sources/tnztools/toonzrasterbrushtool.cpp b/toonz/sources/tnztools/toonzrasterbrushtool.cpp index ebe6771..7349416 100644 --- a/toonz/sources/tnztools/toonzrasterbrushtool.cpp +++ b/toonz/sources/tnztools/toonzrasterbrushtool.cpp @@ -701,7 +701,7 @@ static void Smooth(std::vector &points, int radius) { if (points.size() >= 3) { std::vector pts; CatmullRomInterpolate(points[0], points[0], points[1], points[2], 10, pts); - std::vector::iterator it = points.begin(); + std::vector::iterator it = points.begin() + 1; points.insert(it, pts.begin(), pts.end()); pts.clear();