summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2018-09-13 12:03:07 +0000
committerJabiertxof <jabier.arraiza@marker.es>2018-09-13 12:03:07 +0000
commitd7142b6c3a90b7606150dc65f658a6953a6006d9 (patch)
tree480ce011b2e549c80b1c66afbeebed9ced611f77 /src/verbs.cpp
parentFix horizontal scrolling direction when using smooth scrolling (diff)
downloadinkscape-d7142b6c3a90b7606150dc65f658a6953a6006d9.tar.gz
inkscape-d7142b6c3a90b7606150dc65f658a6953a6006d9.zip
fixes and improvementes to power clip and powermask
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 17efe545b..fd3febc2c 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1637,6 +1637,7 @@ void ObjectVerb::perform( SPAction *action, void *data)
sel->editMask(false);
break;
case SP_VERB_OBJECT_UNSET_MASK:
+ Inkscape::LivePathEffect::sp_remove_powermask(sp_action_get_selection(action));
sel->unsetMask(false);
break;
case SP_VERB_OBJECT_SET_CLIPPATH:
@@ -1653,6 +1654,7 @@ void ObjectVerb::perform( SPAction *action, void *data)
sel->editMask(true);
break;
case SP_VERB_OBJECT_UNSET_CLIPPATH:
+ Inkscape::LivePathEffect::sp_remove_powerclip(sp_action_get_selection(action));
sel->unsetMask(true);
break;
default: