Diffusion Krita 84500c3873e4

Fix z-index on shape grouping/ungrouping

Authored by dkazakov on Feb 9 2018, 11:17 AM.

Description

Fix z-index on shape grouping/ungrouping

When grouping, the command should change z-index as little as possible.
If the new shape was above the group, it should be appended, if it was
below the group, it should be prepended.

The same should happen on ungrouping: the ungrouped shapes should be
added right above their previous parent.

This patch also rewrites TestShapeGroupCommand

BUG:381344

Details

Committed
dkazakovFeb 9 2018, 11:18 AM
Parents
R37:18caf89d4847: Add Save As action to scripter II
Branches
Unknown
Tags
Unknown