Use separate raytraced bake path

This commit is contained in:
Lubos Lenco
2021-09-10 15:28:17 +02:00
parent fd418ae322
commit 6df60e0491
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -658,7 +658,7 @@ class RenderPathPaint {
Context.bakeType == BakeLightmap ||
Context.bakeType == BakeBentNormal ||
Context.bakeType == BakeThickness) {
var dirty = RenderPathRaytrace.commandsBake(MakeMaterial.parsePaintMaterial);
var dirty = RenderPathRaytraceBake.commands(MakeMaterial.parsePaintMaterial);
if (dirty) UIHeader.inst.headerHandle.redraws = 2;
if (Config.raw.dilate == DilateInstant) { // && Context.pdirty == 1
dilate(true, false);