diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-08-18 00:37:32 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-08-18 00:37:32 +0000 |
| commit | d039289dd0d88a49ee43f1a2c8f012eff360685f (patch) | |
| tree | a355553ad75bd8749e88f432dbab31ff59b0a439 /src/draw-anchor.cpp | |
| parent | At the moment mouse click starts waiting for the activated LPE and nothing el... (diff) | |
| download | inkscape-d039289dd0d88a49ee43f1a2c8f012eff360685f.tar.gz inkscape-d039289dd0d88a49ee43f1a2c8f012eff360685f.zip | |
Don't draw anchors in LPEToolContext
(bzr r6655)
Diffstat (limited to 'src/draw-anchor.cpp')
| -rw-r--r-- | src/draw-anchor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/draw-anchor.cpp b/src/draw-anchor.cpp index 32ee8ca78..363ea0b6e 100644 --- a/src/draw-anchor.cpp +++ b/src/draw-anchor.cpp @@ -17,6 +17,7 @@ #include "desktop.h" #include "desktop-handles.h" #include "event-context.h" +#include "lpe-tool-context.h" #include "display/sodipodi-ctrl.h" #include "display/curve.h" @@ -26,6 +27,11 @@ SPDrawAnchor * sp_draw_anchor_new(SPDrawContext *dc, SPCurve *curve, gboolean start, NR::Point delta) { + if (SP_IS_LPETOOL_CONTEXT(dc)) { + // suppress all kinds of anchors in LPEToolContext + return NULL; + } + SPDesktop *dt = SP_EVENT_CONTEXT_DESKTOP(dc); SPDrawAnchor *a = g_new(SPDrawAnchor, 1); |
