ID 485631 - Remove 1D LUT parameters from the GenerateLUT node when specific parameters are chosen.

Follow

Problem summary
Remove 1D LUT parameters from the GenerateLUT node when specific parameters are chosen.

Customer reported version
nuke.n/a

Customer reported platform

Steps to reproduce
1) In Nuke, create a GenerateLUT node.
2) Add a file path, and choose the extension .cube.
3) Generate the LUT, then read it into any text editor.
4) Observe the output of the generated text.

Expected behavior
The 1D LUT knobs should be removed from the node when non-1D LUT extensions are chosen, or it should create a 1D LUT.

Actual behavior
There are 1D LUT parameters available on the node, which do not write accordingly when choosing specific file types.

Workaround
Create a curve with a Sampler node, then export the curve as a discreet 1D LUT.

Reproduced by Support in
Nuke 13.0v4 - Windows 10, macOS 10.14
Nuke 13.0v1 - Windows 10
Nuke 12.0v1 - Windows 10
Nuke 11.0v1 - Windows 10
Nuke 10.0v1 - Windows 10
Nuke 9.0v1 - Windows 10
Nuke 8.0v1 - Windows 10, macOS 10.14

Earliest version tested
Nuke 8.0v1 - This issue appears to be in all versions of the product

    We're sorry to hear that

    Please tell us why