Adding any hints to a shader parameter on a shading node will expose that shader parameter in the public interface of a Network Material that uses that shading node.
Additionally, attempting to remove the public view via "Remove Public Interface Hints" on the shader parameter resets the widget options.
Steps to reproduce:
Start Katana in an environment with PRMan and the KatanaBlinn shader available.
(Other renderers and shader types can be used to reproduce the issue as well.)
Create a PrmanShadingNode node, set its edit flag, and set its nodeType parameter to KatanaBlinn.
From the wrench menu of the Ks shader parameter, choose the Widget Options command.
In the widget options dialog, set the Display Slider option to True, and click OK to accept.
Add a NetworkMaterial node, set its edit flag, and add a PRMan surface terminal to it.
In the Node Graph tab, connect the out of PrmanShadingNode to the PRMan surface terminal of the NetworkMaterial node.
Result: The Ks shader parameter will appear in the NetworkMaterial node
Additionally: Removing the hint via "Shader node -> Ks wrench -> Remove Public Interface Hints" resets the widget options.
Expected behaviour:
The public interface of the NetworkMaterial does not show any shader parameters exposed.
Actual behaviour:
The Ks parameter appears in the public interface of the NetworkMaterial node.