Make brush preview on project open

This commit is contained in:
luboslenco
2020-03-25 14:06:21 +01:00
parent 60eef2c92f
commit b5ae9f8be3
+6 -1
View File
@@ -153,7 +153,12 @@ class ImportArm {
Project.brushes = [];
for (n in project.brush_nodes) {
Project.brushes.push(new BrushSlot(n));
initNodes(n.nodes);
Context.brush = new BrushSlot(n);
Project.brushes.push(Context.brush);
MaterialParser.parseBrush();
UISidebar.inst.parseBrushInputs();
RenderUtil.makeBrushPreview();
}
// Synchronous for now