Code

argh, missed selection-chemistry somehow
authormental <mental@users.sourceforge.net>
Sun, 11 Mar 2007 21:50:28 +0000 (21:50 +0000)
committermental <mental@users.sourceforge.net>
Sun, 11 Mar 2007 21:50:28 +0000 (21:50 +0000)
src/selection-chemistry.cpp

index 5fa5b0d7ed83bff3c052cfe146571290b7ca83b5..bc9ebe7a5a60bcd481bcdeb6888d0ba7423c5d76 100644 (file)
@@ -1527,7 +1527,7 @@ sp_selection_scale_absolute(Inkscape::Selection *selection,
         return;
 
     NR::Maybe<NR::Rect> const bbox(selection->bounds());
-    if ( !bbox || bbox->isEmpty() ) {
+    if ( !bbox ) {
         return;
     }
 
@@ -1550,7 +1550,7 @@ void sp_selection_scale_relative(Inkscape::Selection *selection, NR::Point const
 
     NR::Maybe<NR::Rect> const bbox(selection->bounds());
 
-    if ( !bbox || bbox->isEmpty() ) {
+    if ( !bbox ) {
         return;
     }
 
@@ -2202,7 +2202,7 @@ sp_selection_tile(bool apply)
 
     sp_document_ensure_up_to_date(document);
     NR::Maybe<NR::Rect> r = selection->bounds();
-    if ( !r || r->isEmpty() ) {
+    if ( !r ) {
         return;
     }