fixed bugs in memory-limited render

This commit is contained in:
zueuk
2006-06-02 12:32:46 +00:00
parent c1e02e3731
commit b7b42c244d
2 changed files with 5 additions and 5 deletions

View File

@ -251,7 +251,7 @@ begin
IterateBatchProc := IterateBatchAngle;
end;
nsamples := Round(sample_density * bucketSize / (oversample * oversample));
nsamples := Round(sample_density * NrSlices * bucketSize / (oversample * oversample));
nrbatches := Round(nsamples / (fcp.nbatches * SUB_BATCH_SIZE));
for i := 0 to nrbatches do begin