State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:14.0v5|BugID:519425|
Problem summary
BlinkScript which compares a bool to a number fails in a soft effect on timeline, but not in the Node Graph
Customer reported version
hiero.13.2v1
Customer reported platform
n_a_linux
Steps to reproduce
1) Open Nuke Studio
2) Import any footage and add it to a sequence
3) Select the clip on the timeline>Right click>Soft Effects>BlinkScript
4) In the BlinkScript properties, past the following code and Recompile:
kernel TestKernel : ImageComputationKernel<ePixelWise> { Image<eRead, eAccessPoint, eEdgeClamped> src; Image<eWrite> dst; // the output image param: bool invert; void process() { if (invert == 0 ) { // Change 0 to false to work in Hiero dst() = float4(1.0f, 1.0f, 1.0f, 1.0f); } else { dst() = float4(0.0f, 1.0f, 0.0f, 0.0f); } } }; if (invert == 0 ) {to: if (invert == false ) { We're sorry to hear that
Please tell us why