diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-09-21 12:33:51 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-09-21 12:33:51 +0000 |
| commit | b983e702f5de14f3e03c47edb6d489919890ee40 (patch) | |
| tree | 15ee4a2baee05760516f8f2778501a6aa1d8c59a /src/object | |
| parent | adjust GDK_SCROLL_SMOOTH for MacBook Trackpad (diff) | |
| parent | fix bug 1791694 (diff) | |
| download | inkscape-b983e702f5de14f3e03c47edb6d489919890ee40.tar.gz inkscape-b983e702f5de14f3e03c47edb6d489919890ee40.zip | |
Merge branch 'fix_bug_#1791694' of gitlab.com:Xortex/inkscape
Diffstat (limited to 'src/object')
| -rwxr-xr-x[-rw-r--r--] | src/object/sp-lpe-item.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/object/sp-lpe-item.cpp b/src/object/sp-lpe-item.cpp index d6eaf7b6e..819bc7a58 100644..100755 --- a/src/object/sp-lpe-item.cpp +++ b/src/object/sp-lpe-item.cpp @@ -947,25 +947,6 @@ SPLPEItem::applyToClipPathOrMask(SPItem *clip_mask, SPItem* to, Inkscape::LivePa shape->setAttribute("inkscape:original-d", nullptr); } else { SPCurve * c = nullptr; - // If item is a SPRect, convert it to path first: - if ( dynamic_cast<SPRect *>(shape) ) { - SPDesktop *desktop = SP_ACTIVE_DESKTOP; - if (desktop) { - Inkscape::Selection *sel = desktop->getSelection(); - if ( sel && !sel->isEmpty() ) { - sel->clear(); - sel->add(SP_ITEM(shape)); - sel->toCurves(); - SPItem* item = sel->singleItem(); - shape = dynamic_cast<SPShape *>(item); - if (!shape) { - return; - } - sel->clear(); - sel->add(this); - } - } - } c = shape->getCurve(); if (c) { bool success = false; |
