Merge pull request #1331 from MathemanFlo/FixUpdateFillMaterial

Fix #1330
This commit is contained in:
Lubos Lenco
2022-03-14 11:07:18 +01:00
committed by GitHub
+2
View File
@@ -791,11 +791,13 @@ class Layers {
Context.pdirty = 0;
Context.ddirty = 2;
Context.rdirty = 2;
Context.layersPreviewDirty = true; // Repaint all layer previews as multiple layers might have changed.
if (current != null) current.begin(false);
Context.layer = _layer;
setObjectMask();
Context.tool = _tool;
Context.fillTypeHandle.position = _fillType;
MakeMaterial.parsePaintMaterial(false);
}
}