removed some unnecessary vars, AFAIR :)
This commit is contained in:
parent
ede0bbfded
commit
e72eee7dd9
@ -39,7 +39,7 @@ const
|
|||||||
RS_XO = 2;
|
RS_XO = 2;
|
||||||
RS_VO = 3;
|
RS_VO = 3;
|
||||||
|
|
||||||
AppVersionString = 'Apophysis 2.05 pre-release 15';
|
AppVersionString = 'Apophysis 2.05 pre-release 16';
|
||||||
|
|
||||||
type
|
type
|
||||||
TMouseMoveState = (msUsual, msZoomWindow, msZoomOutWindow, msZoomWindowMove,
|
TMouseMoveState = (msUsual, msZoomWindow, msZoomOutWindow, msZoomWindowMove,
|
||||||
@ -1313,7 +1313,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
function FlameToXML(const cp1: TControlPoint; sheep: boolean; exporting: boolean = false): string;
|
function FlameToXML(const cp1: TControlPoint; exporting: boolean): string;
|
||||||
var
|
var
|
||||||
t, i{, j}: integer;
|
t, i{, j}: integer;
|
||||||
FileList: TStringList;
|
FileList: TStringList;
|
||||||
@ -1393,13 +1393,11 @@ begin
|
|||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ Write palette data }
|
{ Write palette data }
|
||||||
if not sheep then begin
|
if exporting or OldPaletteFormat then
|
||||||
if exporting then
|
FileList.Add(ColorToXml(cp1))
|
||||||
FileList.Add(ColorToXml(cp1))
|
else
|
||||||
else
|
FileList.Add(ColorToXmlCompact(cp1));
|
||||||
FileList.Add(ColorToXmlCompact(cp1));
|
|
||||||
end;
|
|
||||||
|
|
||||||
FileList.Add('</flame>');
|
FileList.Add('</flame>');
|
||||||
result := FileList.text;
|
result := FileList.text;
|
||||||
@ -3857,7 +3855,7 @@ begin
|
|||||||
cp1.estimator_curve := ExportEstimatorCurve;
|
cp1.estimator_curve := ExportEstimatorCurve;
|
||||||
cp1.jitters := ExportJitters;
|
cp1.jitters := ExportJitters;
|
||||||
cp1.gamma_treshold := ExportGammaTreshold;
|
cp1.gamma_treshold := ExportGammaTreshold;
|
||||||
FileList.Text := FlameToXML(cp1, false, true);
|
FileList.Text := FlameToXML(cp1, true);
|
||||||
FileList.SaveToFile(ChangeFileExt(ExportDialog.Filename, '.flame'));
|
FileList.SaveToFile(ChangeFileExt(ExportDialog.Filename, '.flame'));
|
||||||
FileList.Clear;
|
FileList.Clear;
|
||||||
FileList.Add('@echo off');
|
FileList.Add('@echo off');
|
||||||
|
Loading…
Reference in New Issue
Block a user