Update decal preview on new project

This commit is contained in:
luboslenco
2020-08-17 23:25:14 +02:00
parent cd52ba5907
commit 0916a9fe9c
+7
View File
@@ -280,6 +280,13 @@ class Project {
Scene.active.world.probe.radianceMipmaps = Context.defaultRadianceMipmaps;
Scene.active.world.probe.irradiance = Context.defaultIrradiance;
Scene.active.world.probe.raw.strength = 4.0;
if (Context.tool == ToolDecal || Context.tool == ToolText) {
if (Context.tool == ToolText) {
RenderUtil.makeTextPreview();
}
RenderUtil.makeDecalPreview();
}
});
}