diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-06-07 01:19:18 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-06-07 01:19:18 +0000 |
| commit | 48ddc5ea8c9ee44c7ae388d43f9be9552acf64ae (patch) | |
| tree | 9e66e429e2025fb99b28511231f87c533c15e865 /src/ui/tools/pencil-tool.cpp | |
| parent | Clean up some unnecessary pointer usage in livarot (diff) | |
| download | inkscape-48ddc5ea8c9ee44c7ae388d43f9be9552acf64ae.tar.gz inkscape-48ddc5ea8c9ee44c7ae388d43f9be9552acf64ae.zip | |
Undo changes in r13391
(bzr r13341.1.51)
Diffstat (limited to 'src/ui/tools/pencil-tool.cpp')
| -rw-r--r-- | src/ui/tools/pencil-tool.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/tools/pencil-tool.cpp b/src/ui/tools/pencil-tool.cpp index 48f8c3a28..0e8660248 100644 --- a/src/ui/tools/pencil-tool.cpp +++ b/src/ui/tools/pencil-tool.cpp @@ -760,8 +760,9 @@ void PencilTool::_sketchInterpolate() { path.LoadPathVector(Geom::path_from_piecewise(this->sketch_interpolation, 0.01)); path.Simplify(0.5); - Geom::PathVector pathv = path.MakePathVector(); - this->sketch_interpolation = pathv[0].toPwSb(); + Geom::PathVector *pathv = path.MakePathVector(); + this->sketch_interpolation = (*pathv)[0].toPwSb(); + delete pathv; } else { this->sketch_interpolation = fit_pwd2; } |
