Code

More sensible behaviour of the treat-selection-as-group option in align & distribute...
authorcilix42 <cilix42@users.sourceforge.net>
Sat, 13 Sep 2008 20:03:55 +0000 (20:03 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Sat, 13 Sep 2008 20:03:55 +0000 (20:03 +0000)
src/ui/dialog/align-and-distribute.cpp

index 627f10c0c4c12c3ab1ba0ee0d8f7013729b886f8..4d029fe42d028e8c9e4f8b7105b46c3585c45544 100644 (file)
@@ -153,9 +153,12 @@ private :
                 );
             //remove the master from the selection
             SPItem * thing = *master;
-            if (!sel_as_group) {
+            // TODO: either uncomment or remove the following commented lines, depending on which
+            //       behaviour of moving objects makes most sense; also cf. discussion at
+            //       https://bugs.launchpad.net/inkscape/+bug/255933
+            /*if (!sel_as_group) { */
                 selected.erase(master);
-            }
+            /*}*/
             //Compute the anchor point
             boost::optional<NR::Rect> b = sp_item_bbox_desktop (thing);
             if (b) {