summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-18 17:34:07 +0000
committerjabiertxof <info@marker.es>2016-03-18 17:34:07 +0000
commitae7a4f0320d820a6183dde933fba576bc2c9f58f (patch)
tree65a66cab92d156c7015b0f5629d2e52df7459f28 /src/ui/tool/path-manipulator.cpp
parentFix writing of 'x' and 'y' attributes in multiline text via sodipode:role="li... (diff)
downloadinkscape-ae7a4f0320d820a6183dde933fba576bc2c9f58f.tar.gz
inkscape-ae7a4f0320d820a6183dde933fba576bc2c9f58f.zip
Bug #1419517 Fix Crash when applying new path effect after deleting pattern of Pattern-along-path LPE
Fixed bugs: - https://launchpad.net/bugs/1419517 (bzr r14717)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index f4790c317..3b25439f3 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -1492,7 +1492,6 @@ void PathManipulator::_getGeometry()
void PathManipulator::_setGeometry()
{
using namespace Inkscape::LivePathEffect;
- if (empty()) return;
if (!_lpe_key.empty()) {
// copied from nodepath.cpp
@@ -1505,6 +1504,7 @@ void PathManipulator::_setGeometry()
LIVEPATHEFFECT(_path)->requestModified(SP_OBJECT_MODIFIED_FLAG);
}
} else {
+ if (empty()) return;
//XML Tree being used here directly while it shouldn't be.
if (_path->getRepr()->attribute("inkscape:original-d"))
_path->set_original_curve(_spcurve, false, false);