Fixed deselected selections

Authored by Dmitry Kazakov <dimula73@gmail.com>.

Description

Fixed deselected selections

Now a selection cannot be "deselected". It either exists or does not exist.
When we deselect the global selection the corresponding mask is set
not-active and is left in the layer stack. When we need to "Reselect", we
just search for the last non-active mask and activate it.

These changes need testing!

BUG:294216

Details

Committed
Dmitry Kazakov <dimula73@gmail.com>Feb 23 2012, 10:53 AM
Parents
R8:7db763d3f4b0: SVN_SILENT update
Branches
Unknown
Tags
Unknown
Dmitry Kazakov <dimula73@gmail.com> committed R8:aa38fbf1d36c: Fixed deselected selections (authored by Dmitry Kazakov <dimula73@gmail.com>).Feb 23 2012, 10:53 AM