summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 66cc931)
raw | patch | inline | side by side (parent: 66cc931)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 25 Aug 2008 02:10:17 +0000 (02:10 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 25 Aug 2008 02:10:17 +0000 (02:10 +0000) |
src/sp-shape.cpp | patch | blob | history |
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp
index 93c58b16a18f2f1cc5853ff0eeb2662dec948cf9..e22f8b785024b7ceda861c3d954c0c3f75d1d530 100644 (file)
--- a/src/sp-shape.cpp
+++ b/src/sp-shape.cpp
if (flags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_PARENT_MODIFIED_FLAG)) {
/* This is suboptimal, because changing parent style schedules recalculation */
/* But on the other hand - how can we know that parent does not tie style and transform */
- boost::optional<NR::Rect> paintbox = SP_ITEM(object)->getBounds(NR::identity());
+ boost::optional<NR::Rect> paintbox = SP_ITEM(object)->getBounds(NR::identity(), SPItem::GEOMETRIC_BBOX);
for (SPItemView *v = SP_ITEM (shape)->display; v != NULL; v = v->next) {
NRArenaShape * const s = NR_ARENA_SHAPE(v->arenaitem);
if (flags & SP_OBJECT_MODIFIED_FLAG) {