ID 224646 - UV Viewer: Errors when displaying uv data for geometry.arbitrary.st.scope as point

Follow

Problem summary
Displaying the uv data for a mesh with the geometry.arbitrary.st.scope = point will fail in Katana.

Steps to reproduce

1) open attached file and expand in the Scene Graph at OpScript_geometry level.
2) select the leaf location (this has geometry.arbitrary.st.scope = point) and open the UV Viewer. You will get the following errors and nothing displays in the UV Viewer

[ERROR python.root]: An IndexError occurred in "UVWidget.py": list index out of range
    Traceback (most recent call last):
      File "python/UI4/Tabs/UVPanel/UVWidget.py", line 1115, in paintGL
      File "python/UI4/software_python/QT4GLLayerStack/v0/LayerStack.py", line 525, in paintGL
      File "python/UI4/Tabs/UVPanel/UVWidget.py", line 461, in paintGL
      File "python/UI4/Tabs/UVPanel/UVWidget.py", line 262, in __generateGeometryList
    IndexError: list index out of range
 
    Traceback (most recent call last):
      File "python/UI4/Tabs/UVPanel/UVWidget.py", line 1115, in paintGL
      File "python/UI4/software_python/QT4GLLayerStack/v0/LayerStack.py", line 525, in paintGL
      File "python/UI4/Tabs/UVPanel/UVWidget.py", line 461, in paintGL
      File "python/UI4/Tabs/UVPanel/UVWidget.py", line 228, in __generateGeometryList
      File "/opt/Foundry/Katana2.1v3/bin/python/OpenGL/error.py", line 208, in glCheckError
        baseOperation = baseOperation,
    GLError: GLError(
        err = 1282,
        description = 'invalid operation',
        baseOperation = glNewList,
        cArguments = (49L, GL_COMPILE_AND_EXECUTE)
    )

3) close the UV Viewer tab and expand all in the Scene Graph for the OpScript_promoteToFacevarying node instead

4) select the leaf location (this has geometry.arbitrary.st.scope = vertex) and open a new instance of UV VIewer. You now get the uvs displayed as expected.

Reproduced by support

Reproduced in 1.6v3, 2.0v1 and 2.5 beta.

Expected behaviour
The uvs should be displayed irrespective of the geometry.arbitrary.st.scope setting.

Actual behaviour
The uvs should be displayed correctly for point (varying) geometry data.

    We're sorry to hear that

    Please tell us why