What is the error here?
I copied a script text that someone had put up to the forum. I opened Track FX and the Video processor. There is a text box there and I pasted the copied script text into that. I then asked to Save Preset. Nothing showed.
When I tried to use the preset, I was told
"Error compiling code
unknown error, no code?
Save bad code?"
Have I taken a wrong path, or is there something in the script? The poster said it worked and others seemed to agree.
Here is the text
//RGB White Balance Colour Grading
src=0;
//@param2:red 'red' 0 -0.1 0.1
//@param4:green 'green' 0 -0.1 0.1
//@param6:blue 'blue' 0 -0.1 0.1
//@param8:intensity 'intensity' 1 0 10
input_info(src,w,h) ? ( project_w=w; project_h=h; ); // preserve input dimensions
w>0 ? gfx_blit(src);
gfx_mode=w>0 ? 1 : 0;
gfx_gradrect(0,0,project_w,project_h, red, green, blue, intensity);
Thanks for any help.
__________________
Nick: Windows 10 64 bit Reaper 6.25-6.71-6.83 x64
8gb RAM: Intel core i7@2.93GHz: SoundblasterZ: Radeon RX 80 vide, 8GB
|