From 43b3267faeb9e96a4abdc2670e20f167a48ae951 Mon Sep 17 00:00:00 2001 From: ronaldhordijk Date: Mon, 27 Jun 2005 18:08:34 +0000 Subject: [PATCH] B1227562 Background will remain the same (depending on options) --- 2.10/Source/RndFlame.pas | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/2.10/Source/RndFlame.pas b/2.10/Source/RndFlame.pas index 7111df8..8e6213f 100644 --- a/2.10/Source/RndFlame.pas +++ b/2.10/Source/RndFlame.pas @@ -414,7 +414,11 @@ begin Result.sample_density := defSampleDensity; Result.spatial_oversample := defOversample; Result.spatial_filter_radius := defFilterRadius; - if not KeepBackground then begin + if KeepBackground and assigned(SourceCP) then begin + Result.background[0] := SourceCP.background[0]; + Result.background[1] := SourceCP.background[1]; + Result.background[2] := SourceCP.background[2]; + end else begin Result.background[0] := 0; Result.background[1] := 0; Result.background[2] := 0;