Fix creating mask from textures tab

This commit is contained in:
Lubos Lenco
2021-09-02 22:55:03 +02:00
parent 6bf55a1756
commit e11cf49f67
+3 -1
View File
@@ -121,7 +121,9 @@ class TabTextures {
Project.reimportTexture(asset);
}
if (ui.button(tr("To Mask"), Left)) {
Layers.createImageMask(asset);
App.notifyOnNextFrame(function() {
Layers.createImageMask(asset);
});
}
if (ui.button(tr("Delete"), Left)) {
UIStatus.inst.statusHandle.redraws = 2;