diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-03-09 19:30:30 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-03-09 19:30:30 +0000 |
| commit | 9e2004f93a54eecb069b579f44d38d204f6dca55 (patch) | |
| tree | 879ee6db1212af4a78607a0ea57b89d35e04c383 /src/dialogs/clonetiler.cpp | |
| parent | patch by sas from Bug #199922: speeds up dxf output (diff) | |
| download | inkscape-9e2004f93a54eecb069b579f44d38d204f6dca55.tar.gz inkscape-9e2004f93a54eecb069b579f44d38d204f6dca55.zip | |
fix 179178
(bzr r5012)
Diffstat (limited to 'src/dialogs/clonetiler.cpp')
| -rw-r--r-- | src/dialogs/clonetiler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dialogs/clonetiler.cpp b/src/dialogs/clonetiler.cpp index 621f1acfa..899b7b5ca 100644 --- a/src/dialogs/clonetiler.cpp +++ b/src/dialogs/clonetiler.cpp @@ -1483,6 +1483,9 @@ clonetiler_apply( GtkWidget */*widget*/, void * ) SPObject *clone_object = sp_desktop_document(desktop)->getObjectByRepr(clone); double perimeter = perimeter_original * t.expansion(); double radius = blur * perimeter; + // this is necessary for all newly added clones to have correct bboxes, + // otherwise filters won't work: + sp_document_ensure_up_to_date(sp_desktop_document(desktop)); // it's hard to figure out exact width/height of the tile without having an object // that we can take bbox of; however here we only need a lower bound so that blur // margins are not too small, and the perimeter should work |
