summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-03-23 19:23:08 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-03-23 19:23:08 +0000
commitd788700346e4aa68855180315d5120728f2e4bdd (patch)
tree3f7ea2876d9486dbd5f7cd8dca9b8d6eabeafae8 /src/selection-chemistry.cpp
parentexpand visual bbox for item with a filter (diff)
downloadinkscape-d788700346e4aa68855180315d5120728f2e4bdd.tar.gz
inkscape-d788700346e4aa68855180315d5120728f2e4bdd.zip
remove multiple inheritance from lpe PathParam. since it is often desired to get the path not as pw< d2<> >, but also as geom::path or maybe as dw< pw<> >. Plus this enabled linking to an object, instead of keeping its own path data. (i.e. linking to other objects)
(bzr r5176)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index 81af6512a..e40746061 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -1178,7 +1178,7 @@ void sp_selection_copy_lpe_pathparam(Inkscape::LivePathEffect::PathParam * pathp
clipboard = g_slist_prepend(clipboard, newnode);
- Geom::Rect bnds = Geom::bounds_exact(*pathparam);
+ Geom::Rect bnds = Geom::bounds_exact(pathparam->get_pwd2());
size_clipboard = from_2geom(bnds);
}