State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:14.0v6|BugID:549669|
Problem summary
BlinkScript soft effects fail to compile when declaring custom functions.
This issue only happens with the BlinkScript soft effect on Nuke Studio's timeline, and not with the BlinkScript node in the Node Graph.
Customer reported version
Nuke 14.0v5
Customer reported platform
CentOS 7
Steps to reproduce
1) Open Nuke Studio.
2) Import (File > Import File(s)...) any file and drop it on to the timeline.
3) Right click the shot on the timeline > Soft Effects > BlinkScript
4) Add the following script to the Kernel Source field and click Recompile:
inline float4 bonus_mult(float4 source) { return source*0.1; } kernel Custom_ColorMult : ImageComputationKernel<ePixelWise> { Image<eRead,eAccessPoint,eEdgeClamped> src; //input image with edges clamped Image<eWrite> dst; //output image param: float4 color; //parameter void define() { defineParam(color, "Custom color", float4(0.0f,1.0f,0.0f,0.0f));//default value } void process() { dst() = bonus_mult(src()) * color; //input multiplied by our color } }; 
LabelStmt 0x280ea7aa2b8 '_fc_inlExit_3'`-NullStmt 0x280ea7aa2d8 We're sorry to hear that
Please tell us why