From 15df7d40c7c845463349960e4826aacda1d8f9be Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 6 Jan 2012 20:40:49 -0300 Subject: [PATCH] Fix problem in "select all" command: reset the transformation bounds. --- src/commands/cmd_mask_all.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/cmd_mask_all.cpp b/src/commands/cmd_mask_all.cpp index 80cbf8624..ab91b7e39 100644 --- a/src/commands/cmd_mask_all.cpp +++ b/src/commands/cmd_mask_all.cpp @@ -69,6 +69,7 @@ void MaskAllCommand::onExecute(Context* context) // Change the selection mask_replace(document->getMask(), 0, 0, sprite->getWidth(), sprite->getHeight()); document->setMaskVisible(true); + document->resetTransformation(); document->generateMaskBoundaries(); update_screen_for_document(document);