1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-22 01:02:17 -05:00

Changed Handbook URL again + DTM cleanup.

This commit is contained in:
Merlijn Wajer 2010-04-12 11:00:43 +02:00
parent c7f5ce6b31
commit 28b12851e0
2 changed files with 4 additions and 3 deletions

View File

@ -1868,7 +1868,7 @@ end;
procedure TForm1.MenuItemHandbookClick(Sender: TObject);
begin
OpenURL('http://wizzup.org/simba/doc/ps_handbook/');
OpenURL('http://wizzup.org/static/simba/doc/ps_handbook/');
end;
procedure TForm1.MenuItemColourHistoryClick(Sender: TObject);

View File

@ -218,8 +218,9 @@ procedure NormalizeDTM(var dtm: pdtm);
var
i:integer;
begin
if dtm.p[0] = Point(0,0) then //Already normalized
exit;
// we don't need this check really...
{if dtm.p[0] = Point(0,0) then //Already normalized
exit;}
for i := 1 to dtm.l - 1 do
dtm.p[i] := dtm.p[i] - dtm.p[0];
dtm.p[0] := dtm.p[0] - dtm.p[0]; //Point(0,0);