summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 951d7bd)
raw | patch | inline | side by side (parent: 951d7bd)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 9 Mar 2008 19:30:30 +0000 (19:30 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 9 Mar 2008 19:30:30 +0000 (19:30 +0000) |
src/dialogs/clonetiler.cpp | patch | blob | history |
index 621f1acfad501be5eb1d5310dff562c984820e2f..899b7b5ca78b43475b6ab5451847119ab87806b1 100644 (file)
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