Scripter fixes
This commit is contained in:
parent
191beb0f42
commit
267c62975e
@ -1167,7 +1167,7 @@ begin
|
||||
Scripter.DefineMethod('SaveGradient', 2, tkNone, nil, SaveGradientProc);
|
||||
Scripter.DefineMethod('Variation', 0, tkInteger, nil, GetVariation);
|
||||
Scripter.DefineMethod('SetVariation', 1, tkInteger, nil, SetVariation);
|
||||
Scripter.DefineMethod('GetVariable', 2, tkFloat, nil, GetVariable);
|
||||
Scripter.DefineMethod('GetVariable', 1, tkFloat, nil, GetVariable);
|
||||
Scripter.DefineMethod('SetVariable', 2, tkNone, nil, SetVariable);
|
||||
Scripter.DefineMethod('CalculateScale', 0, tkNone, nil, CalculateScale);
|
||||
Scripter.DefineMethod('CalculateBounds', 0, tkNone, nil, CalculateBounds);
|
||||
@ -2782,25 +2782,25 @@ begin
|
||||
Scripter.AddConstant('V_CURL', 37);
|
||||
Scripter.AddConstant('V_RANDOM', -1);
|
||||
{ Variation parameters }
|
||||
Scripter.AddConstant('RINGS2_VAL', 0);
|
||||
Scripter.AddConstant('FAN2_X', 1);
|
||||
Scripter.AddConstant('FAN2_Y', 2);
|
||||
Scripter.AddConstant('BLOB_LOW', 3);
|
||||
Scripter.AddConstant('BLOB_HI', 4);
|
||||
Scripter.AddConstant('BLOB_WAVES', 5);
|
||||
Scripter.AddConstant('PDJ_A', 6);
|
||||
Scripter.AddConstant('PDJ_B', 7);
|
||||
Scripter.AddConstant('PDJ_C', 8);
|
||||
Scripter.AddConstant('PDJ_D', 9);
|
||||
Scripter.AddConstant('PERSPECTIVE_ANGLE', 10);
|
||||
Scripter.AddConstant('PERSPECTIVE_DIST', 11);
|
||||
Scripter.AddConstant('JULIAN_POWER', 12);
|
||||
Scripter.AddConstant('JULIAN_DIST', 13);
|
||||
Scripter.AddConstant('JULIASCOPE_POWER', 14);
|
||||
Scripter.AddConstant('JULIASCOPE_DIST', 15);
|
||||
Scripter.AddConstant('RADIALBLUR_ANGLE', 16);
|
||||
Scripter.AddConstant('CURL_C0', 17);
|
||||
Scripter.AddConstant('CURL_C1', 18);
|
||||
Scripter.AddConstant('RADIALBLUR_ANGLE', 0);
|
||||
Scripter.AddConstant('RINGS2_VAL', 1);
|
||||
Scripter.AddConstant('FAN2_X', 2);
|
||||
Scripter.AddConstant('FAN2_Y', 3);
|
||||
Scripter.AddConstant('BLOB_LOW', 4);
|
||||
Scripter.AddConstant('BLOB_HI', 5);
|
||||
Scripter.AddConstant('BLOB_WAVES', 6);
|
||||
Scripter.AddConstant('PDJ_A', 7);
|
||||
Scripter.AddConstant('PDJ_B', 8);
|
||||
Scripter.AddConstant('PDJ_C', 9);
|
||||
Scripter.AddConstant('PDJ_D', 10);
|
||||
Scripter.AddConstant('PERSPECTIVE_ANGLE', 11);
|
||||
Scripter.AddConstant('PERSPECTIVE_DIST', 12);
|
||||
Scripter.AddConstant('JULIAN_POWER', 13);
|
||||
Scripter.AddConstant('JULIAN_DIST', 14);
|
||||
Scripter.AddConstant('JULIASCOPE_POWER', 15);
|
||||
Scripter.AddConstant('JULIASCOPE_DIST', 16);
|
||||
Scripter.AddConstant('CURL_C1', 17);
|
||||
Scripter.AddConstant('CURL_C2', 18);
|
||||
{ Variables }
|
||||
Scripter.AddVariable('SelectedTransform', EditForm.SelectedTriangle);
|
||||
Scripter.AddVariable('Compatibility', Compatibility);
|
||||
|
Loading…
Reference in New Issue
Block a user