Added propagated multibake mode.

Temporarily disabled Precapture post effect.
This commit is contained in:
Areloch 2018-10-27 02:21:46 -05:00
parent 78b2bcde0c
commit 43c1abbc96
4 changed files with 24 additions and 12 deletions

View file

@ -28,15 +28,21 @@ function ProbeBakeDlg_RunBake::onClick(%this)
%currentProgressValue = 0;
ProbeBakeDlg_Progress.setValue(%currentProgressValue);
Canvas.repaint();
for(%iter=0; %iter < %numIter; %iter++)
{
%renderWithProbes = false;
if(%iter != 0)
%renderWithProbes = true;
for(%i=0; %i < %probeCount; %i++)
{
%probe = getWord(%probeIds, %i);
%path = filePath($Server::MissionFile) @ "/" @ fileBase($Server::MissionFile) @ "/probes/";
%probe.bake(%path, %resolution);
%probe.bake(%path, %resolution, %renderWithProbes);
%currentProgressValue += %progressStep;
ProbeBakeDlg_Progress.setValue(%currentProgressValue);