diff options
Diffstat (limited to 'src/seltrans.cpp')
| -rw-r--r-- | src/seltrans.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp index a05cac181..f6134a01c 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -380,6 +380,13 @@ void Inkscape::SelTrans::stamp() { Inkscape::Selection *selection = sp_desktop_selection(_desktop); + bool fixup = !_grabbed; + if ( fixup && _stamp_cache ) { + // TODO - give a proper fix. Simple temproary work-around for the grab() issue + g_slist_free(_stamp_cache); + _stamp_cache = NULL; + } + /* stamping mode */ if (!_empty) { GSList *l; @@ -431,6 +438,12 @@ void Inkscape::SelTrans::stamp() } sp_document_done(sp_desktop_document(_desktop)); } + + if ( fixup && _stamp_cache ) { + // TODO - give a proper fix. Simple temproary work-around for the grab() issue + g_slist_free(_stamp_cache); + _stamp_cache = NULL; + } } void Inkscape::SelTrans::_updateHandles() |
