mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-25 10:42:20 -05:00
Changed Handbook URL again + DTM cleanup.
This commit is contained in:
parent
c7f5ce6b31
commit
28b12851e0
@ -1868,7 +1868,7 @@ end;
|
|||||||
|
|
||||||
procedure TForm1.MenuItemHandbookClick(Sender: TObject);
|
procedure TForm1.MenuItemHandbookClick(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
OpenURL('http://wizzup.org/simba/doc/ps_handbook/');
|
OpenURL('http://wizzup.org/static/simba/doc/ps_handbook/');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TForm1.MenuItemColourHistoryClick(Sender: TObject);
|
procedure TForm1.MenuItemColourHistoryClick(Sender: TObject);
|
||||||
|
@ -218,8 +218,9 @@ procedure NormalizeDTM(var dtm: pdtm);
|
|||||||
var
|
var
|
||||||
i:integer;
|
i:integer;
|
||||||
begin
|
begin
|
||||||
if dtm.p[0] = Point(0,0) then //Already normalized
|
// we don't need this check really...
|
||||||
exit;
|
{if dtm.p[0] = Point(0,0) then //Already normalized
|
||||||
|
exit;}
|
||||||
for i := 1 to dtm.l - 1 do
|
for i := 1 to dtm.l - 1 do
|
||||||
dtm.p[i] := dtm.p[i] - dtm.p[0];
|
dtm.p[i] := dtm.p[i] - dtm.p[0];
|
||||||
dtm.p[0] := dtm.p[0] - dtm.p[0]; //Point(0,0);
|
dtm.p[0] := dtm.p[0] - dtm.p[0]; //Point(0,0);
|
||||||
|
Loading…
Reference in New Issue
Block a user