diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-06-10 14:27:16 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2017-06-10 14:27:16 +0000 |
| commit | 9a581994db67e6f788a24ea20fa150ed7837c489 (patch) | |
| tree | d2b1ff4816fa5ab199f08763650a3f7611c7087a /src/live_effects/lpe-powerclip.cpp | |
| parent | Update to trunk (diff) | |
| download | inkscape-9a581994db67e6f788a24ea20fa150ed7837c489.tar.gz inkscape-9a581994db67e6f788a24ea20fa150ed7837c489.zip | |
Working on powermask
Diffstat (limited to 'src/live_effects/lpe-powerclip.cpp')
| -rw-r--r-- | src/live_effects/lpe-powerclip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-powerclip.cpp b/src/live_effects/lpe-powerclip.cpp index ee1603855..d33e05176 100644 --- a/src/live_effects/lpe-powerclip.cpp +++ b/src/live_effects/lpe-powerclip.cpp @@ -40,7 +40,6 @@ LPEPowerClip::~LPEPowerClip() {} void LPEPowerClip::doBeforeEffect (SPLPEItem const* lpeitem){ original_bbox(lpeitem); - const Glib::ustring uri = (Glib::ustring)sp_lpe_item->getRepr()->attribute("clip-path"); SPClipPath *clip_path = SP_ITEM(lpeitem)->clip_ref->getObject(); Geom::Point topleft = Geom::Point(boundingbox_X.min() - 5,boundingbox_Y.max() + 5); Geom::Point topright = Geom::Point(boundingbox_X.max() + 5,boundingbox_Y.max() + 5); @@ -55,6 +54,7 @@ LPEPowerClip::doBeforeEffect (SPLPEItem const* lpeitem){ //clip_path *= sp_lpe_item->i2dt_affine(); if(clip_path) { is_clip = true; + const Glib::ustring uri = (Glib::ustring)sp_lpe_item->getRepr()->attribute("clip-path"); std::vector<SPObject*> clip_path_list = clip_path->childList(true); for ( std::vector<SPObject*>::const_iterator iter=clip_path_list.begin();iter!=clip_path_list.end();++iter) { SPObject * clip_data = *iter; |
