summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-20 17:52:27 +0000
committerJabiertxof <jtx@jtx>2017-01-20 17:52:27 +0000
commit7201350d40601daaa99930be2554c5811eba23b0 (patch)
treeeb9f6ff7b942cc5cae589dcf968594c0f27728d7 /src
parentrevert 15420 because of severe regression (diff)
downloadinkscape-7201350d40601daaa99930be2554c5811eba23b0.tar.gz
inkscape-7201350d40601daaa99930be2554c5811eba23b0.zip
Fix bug 1657591. Crash on ungrouping in v0.92. A unnecesary call to update path effect hook the crash, not sure why but this call is unnecesary so I remove it
Fixed bugs: - https://launchpad.net/bugs/1657591 (bzr r15424)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-patternalongpath.cpp1
-rw-r--r--src/live_effects/parameter/vector.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/live_effects/lpe-patternalongpath.cpp b/src/live_effects/lpe-patternalongpath.cpp
index c1853ef22..f404afe17 100644
--- a/src/live_effects/lpe-patternalongpath.cpp
+++ b/src/live_effects/lpe-patternalongpath.cpp
@@ -264,7 +264,6 @@ LPEPatternAlongPath::transform_multiply(Geom::Affine const& postmul, bool set)
pattern.param_transform_multiply(postmul, set);
pattern.write_to_SVG();
}
- sp_lpe_item_update_patheffect (sp_lpe_item, false, true);
}
void
diff --git a/src/live_effects/parameter/vector.cpp b/src/live_effects/parameter/vector.cpp
index aa16a2b98..55b4d4b32 100644
--- a/src/live_effects/parameter/vector.cpp
+++ b/src/live_effects/parameter/vector.cpp
@@ -116,7 +116,7 @@ VectorParam::set_and_write_new_values(Geom::Point const &new_origin, Geom::Point
void
VectorParam::param_transform_multiply(Geom::Affine const& postmul, bool /*set*/)
{
- set_and_write_new_values( origin * postmul, vector * postmul.withoutTranslation() );
+ set_and_write_new_values( origin * postmul, vector * postmul.withoutTranslation() );
}