Generalize To mask command to all cases
This commit is contained in:
@@ -907,8 +907,8 @@ class Layers {
|
||||
|
||||
public static function createImageMask(asset: TAsset) {
|
||||
var l = Context.layer;
|
||||
if (l.isMask() || l.isGroup()) {
|
||||
return;
|
||||
if (l.isMask()) {
|
||||
l = l.parent;
|
||||
}
|
||||
|
||||
History.newLayer();
|
||||
|
||||
Reference in New Issue
Block a user