From 77fcc571e3a74228b00e3ee4a3b6330481d14002 Mon Sep 17 00:00:00 2001 From: zueuk Date: Fri, 25 Jul 2008 13:27:31 +0000 Subject: [PATCH] no need to waste CPU time on rendering things in mutator when it's invisible --- 2.10/Source/Mutate.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/2.10/Source/Mutate.pas b/2.10/Source/Mutate.pas index 66d07b4..fbea05a 100644 --- a/2.10/Source/Mutate.pas +++ b/2.10/Source/Mutate.pas @@ -190,6 +190,8 @@ procedure TMutateForm.ShowMutants; var i: integer; begin + if Visible = false then exit; + Updating := true; for i := 1 to 8 do begin