State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:415828|
Problem summary:
When adding custom parameters (as defined in the RendererInfoPlugin) to <Renderer>OutputChannelDefine nodes, the node only queries the default renderer's RendererInfoPlugin for info about the custom parameter instead of the selected renderer or the one supplying the OutputChannelDefine node. If the current renderer doesn't match the default one (e.g. if the user hasn't set the DEFAULT_RENDERER environment variable and it remains at its default 'dl', but isn't using 3Delight), adding the custom parameter fails with the following error message:
[ERROR python.root]: A TypeError occurred in "OutputChannelDefine.py": argument 1 must be string, not None Traceback (most recent call last): File "Widgets/SortableParams.py", line 40, in __menuAction File "OutputChannelDefine.py", line 669, in AddGroup TypeError: argument 1 must be string, not None
Steps to reproduce:
Expected behaviour:
A new filterwidth parameter is created on the node.
Actual behaviour:
No new parameter is created on the node and an error is logged in the console:
[ERROR python.root]: A TypeError occurred in "OutputChannelDefine.py": argument 1 must be string, not None Traceback (most recent call last): File "Widgets/SortableParams.py", line 40, in __menuAction File "OutputChannelDefine.py", line 669, in AddGroup TypeError: argument 1 must be string, not None Workaround:
Ensure the DEFAULT_RENDERER environment variable is set to the renderer you wish to use.
Tested versions/platforms:
We're sorry to hear that
Please tell us why