diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-10-12 21:25:39 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-10-12 21:25:39 +0000 |
| commit | eab1eef70ec00e5048b522b6c7f4189615caac87 (patch) | |
| tree | 4d8d574ad9741174e0d99077f234fd41231b08e7 /src/pencil-context.cpp | |
| parent | fix bsplines (diff) | |
| parent | Fix crash with experimental lpe tool. (diff) | |
| download | inkscape-eab1eef70ec00e5048b522b6c7f4189615caac87.tar.gz inkscape-eab1eef70ec00e5048b522b6c7f4189615caac87.zip | |
Update to trunk
(bzr r11950.1.180)
Diffstat (limited to 'src/pencil-context.cpp')
| -rw-r--r-- | src/pencil-context.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index 9869b0756..74c718580 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -80,19 +80,19 @@ const std::string& SPPencilContext::getPrefsPath() { const std::string SPPencilContext::prefsPath = "/tools/freehand/pencil"; -SPPencilContext::SPPencilContext() : SPDrawContext() { - this->is_drawing = false; - +SPPencilContext::SPPencilContext() : + SPDrawContext(), + p(), + npoints(0), + state(SP_PENCIL_CONTEXT_IDLE), + req_tangent(0,0), + is_drawing(false), + ps(), + sketch_interpolation(Geom::Piecewise<Geom::D2<Geom::SBasis> >())// since SPPencilContext is not properly constructed... +{ this->cursor_shape = cursor_pencil_xpm; this->hot_x = 4; this->hot_y = 4; - - this->npoints = 0; - this->state = SP_PENCIL_CONTEXT_IDLE; - this->req_tangent = Geom::Point(0, 0); - - // since SPPencilContext is not properly constructed... - this->sketch_interpolation = Geom::Piecewise<Geom::D2<Geom::SBasis> >(); this->sketch_n = 0; } |
