diff options
| author | Jabiertxof <jtx@jtx> | 2017-01-24 00:37:00 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-01-24 00:37:00 +0000 |
| commit | ba053c48cdcd8b4995f188d80887d46c41f97b3d (patch) | |
| tree | 7095f1fb83aa1bf9ee14d633f73a35374136d88b /src/sp-ellipse.cpp | |
| parent | Update to trunk (diff) | |
| download | inkscape-ba053c48cdcd8b4995f188d80887d46c41f97b3d.tar.gz inkscape-ba053c48cdcd8b4995f188d80887d46c41f97b3d.zip | |
Remove some code and make dependant of rotate copies
(bzr r15356.1.17)
Diffstat (limited to 'src/sp-ellipse.cpp')
| -rw-r--r-- | src/sp-ellipse.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/sp-ellipse.cpp b/src/sp-ellipse.cpp index 9589d6fce..ed1e2b504 100644 --- a/src/sp-ellipse.cpp +++ b/src/sp-ellipse.cpp @@ -445,20 +445,11 @@ void SPGenericEllipse::set_shape() if (hasPathEffect() && pathEffectsEnabled()) { SPCurve *c_lpe = curve->copy(); bool success = this->performPathEffect(c_lpe); - + if (success) { this->setCurveInsync(c_lpe, TRUE); - } else { - Inkscape::XML::Node *repr = this->getRepr(); - if (gchar const * value = repr->attribute("d")) { - Geom::PathVector pv = sp_svg_read_pathv(value); - SPCurve *oldcurve = new (std::nothrow) SPCurve(pv); - if (oldcurve) { - this->setCurveInsync(oldcurve, TRUE); - oldcurve->unref(); - } - } } + c_lpe->unref(); } |
