diff options
| author | Guiu Rocafort <neandertalspeople@gmail.com> | 2014-03-05 17:55:31 +0000 |
|---|---|---|
| committer | Guiu Rocafort <neandertalspeople@gmail.com> | 2014-03-05 17:55:31 +0000 |
| commit | 2f732d93349881b4c8d4a0f9ee93ef5c9dd422dc (patch) | |
| tree | 8998af65af0544ce2a92d71b82027607483a0ea3 /src/marker.cpp | |
| parent | translations from spanish to english done, it might need a little review, but... (diff) | |
| parent | Change tooltip to one more explicit to make cusp nodes (diff) | |
| download | inkscape-2f732d93349881b4c8d4a0f9ee93ef5c9dd422dc.tar.gz inkscape-2f732d93349881b4c8d4a0f9ee93ef5c9dd422dc.zip | |
completed merging
(bzr r11950.5.2)
Diffstat (limited to 'src/marker.cpp')
| -rw-r--r-- | src/marker.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/marker.cpp b/src/marker.cpp index fb7b0fd21..7fee16ead 100644 --- a/src/marker.cpp +++ b/src/marker.cpp @@ -206,7 +206,9 @@ void SPMarker::update(SPCtx *ctx, guint flags) { SPItemCtx rctx = get_rctx( &ictx ); // Shift according to refX, refY - this->c2p = Geom::Translate(this->viewBox.left()-this->refX.computed, this->viewBox.top()-this->refY.computed) * this->c2p; + Geom::Point ref( this->refX.computed, this->refY.computed ); + ref *= c2p; + this->c2p = this->c2p * Geom::Translate( -ref ); // And invoke parent method SPGroup::update((SPCtx *) &rctx, flags); |
