State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:377368|
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:
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:
Tested versions/platforms:
Thank you!
We're sorry to hear that
Please tell us why