summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c5572c3)
raw | patch | inline | side by side (parent: c5572c3)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 14 Sep 2009 03:29:43 +0000 (03:29 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 14 Sep 2009 03:29:43 +0000 (03:29 +0000) |
src/box3d.cpp | patch | blob | history |
diff --git a/src/box3d.cpp b/src/box3d.cpp
index 5cffa66d954bcfdcd4ef7e8a110c338c5a31f5b1..93efa5c35183589ea7e604066d7afb9d93e8b52d 100644 (file)
--- a/src/box3d.cpp
+++ b/src/box3d.cpp
Persp3D *persp = box3d_get_perspective(box);
Persp3D *transf_persp;
- if (!persp3d_has_all_boxes_in_selection (persp)) {
+ if (sp_desktop_document(inkscape_active_desktop()) == SP_OBJECT_DOCUMENT(item) &&
+ !persp3d_has_all_boxes_in_selection (persp)) {
std::list<SPBox3D *> selboxes = sp_desktop_selection(inkscape_active_desktop())->box3DList();
/* create a new perspective as a copy of the current one and link the selected boxes to it */