ID 377368 - "Adopt Faces From Last Selection" Pops up an error dialog and fails to populate the Selection Field when run from a TeleParameter on a Macro

Follow

Problem summary:

When the selection parameter of a FaceSetCreate node is added to a Macro via a TeleParameter Widget Type, using the Adopt Faces From Last Selection displays and error dialog and does not populate the Selection Parameter with the selection.

This was found during the process of creating a Macro that makes a FaceSet based on selection and enables us to have control over its visibility in the viewer and/or the render. The image demonstrates this (the back half of the cow is not visible in the render but is in the Viewer(Hydra)) and shows the macro's user parameters. The issue is with the Adopt From Last Selection drop down from the 'selection' parameter outlined by the red asterisk *. 

Within this macro, there's a FaceSetCreate node which takes in the selection information from the user parameters at the group level. This connection is made using a Teleparameter.

When trying to add a selection of faces using the dropdown menu "Adopt Faces From Last Selection" via the Teleparameter on the macro the following error dialog is displayed:

" Cannot find mesh with selected faces in the viewer. Make sure you have the correct object set in 'meshLocation'. "

When carrying out the same operation from the FaceSetCreate node, this error does not pop up. It seems that this widget type is specific to the FaceSetCreate node and does not function correctly outside of it. 

This is an issue when we want to create a macro which uses facesets.   

Steps to reproduce:

  1. Open Katana and load in my cow scene (attached to this ticket)
  2. Expand the root in the Scene Graph tab and select the 'cow' subdmesh.
  3. In the Hydra Viewer, enter Select Faces Selection mode and make a selection of faces by leftClick+drag on an area of the cow.
  4. In the Parameters tab, in the 'selection' widget, click on the little white triangle on the right to display the dropdown option.
  5. Select "Adopt Faces From Last Selection", making sure your faces are still selected in the viewer.

Expected behaviour:

Selecting the Adopt Faces From Last Selection from the Macro_HideFace3DL_User node should populate the selection field and not error

Actual behaviour:

It does not populate the selection field and throws up an error dialog with the following message: " Cannot find mesh with selected faces in the viewer. Make sure you have the correct object set in 'meshLocation'. "

Workaround:

  1. Shift+(Middle Mouse Click) and Drag the poly Selection onto the Selection Parameter.
  2. Go inside the Macro_HideFace3DL_User group node, within the FaceSetCreate node repeat step 3 - 5. However this will feed the selection information back up to the Macro group. However, this defies the point of creating a macro in the first place. 

Tested versions/platforms:

  • 3.0v1+ Affected
  • 3.1v1 + Affected

 

Thank you! 

    We're sorry to hear that

    Please tell us why