From 2b83e09b1c38856429512d70db63f0a0716c01fc Mon Sep 17 00:00:00 2001 From: zueuk Date: Sun, 24 Aug 2008 16:03:57 +0000 Subject: [PATCH] bug with max number of xforms fixed --- 2.10/Source/ControlPoint.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.10/Source/ControlPoint.pas b/2.10/Source/ControlPoint.pas index e85b482..750e2d1 100644 --- a/2.10/Source/ControlPoint.pas +++ b/2.10/Source/ControlPoint.pas @@ -1564,7 +1564,7 @@ begin sl.add(format('finalxformenabled %d', [ifthen(finalxformenabled, 1, 0)])); sl.add(format('soloxform %d', [soloXform])); - for i := 0 to NumXForms+1 do //NXFORMS do + for i := 0 to Min(NumXForms+1, NXFORMS) do with xform[i] do begin //if density = 0 then continue; - FinalXform has weight=0