Fix problem in "select all" command: reset the transformation bounds.

This commit is contained in:
David Capello 2012-01-06 20:40:49 -03:00
parent dbae742436
commit 15df7d40c7

View File

@ -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);