summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/node-tool.cpp
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2017-08-13 11:26:35 +0000
committerMartin Owens <doctormo@gmail.com>2017-08-13 11:26:35 +0000
commit203bb5ccb8d526f3460e476693642c05bd6fab2f (patch)
tree7b7e3142393909358d50019efc6fc5e1bc91fcca /src/ui/tools/node-tool.cpp
parentMerge branch 'alvinpenner/inkscape-master' (diff)
parentupdate to trunk (diff)
downloadinkscape-203bb5ccb8d526f3460e476693642c05bd6fab2f.tar.gz
inkscape-203bb5ccb8d526f3460e476693642c05bd6fab2f.zip
Merge branch 'jabiertxof/inkscape-inkscape.dev_power_clip_and_mask'
Diffstat (limited to 'src/ui/tools/node-tool.cpp')
-rw-r--r--src/ui/tools/node-tool.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/tools/node-tool.cpp b/src/ui/tools/node-tool.cpp
index 08aacf805..d508a16f2 100644
--- a/src/ui/tools/node-tool.cpp
+++ b/src/ui/tools/node-tool.cpp
@@ -368,7 +368,10 @@ void gather_items(NodeTool *nt, SPItem *base, SPObject *obj, Inkscape::UI::Shape
}
//XML Tree being used directly here while it shouldn't be.
- if (SP_IS_PATH(obj) && obj->getRepr()->attribute("inkscape:original-d") != NULL) {
+ if (SP_IS_PATH(obj) &&
+ obj->getRepr()->attribute("inkscape:original-d") != NULL &&
+ !SP_LPE_ITEM(obj)->hasPathEffectOfType(Inkscape::LivePathEffect::POWERCLIP))
+ {
ShapeRecord r;
r.item = static_cast<SPItem*>(obj);
r.edit_transform = Geom::identity(); // TODO wrong?