maya-usd
maya-usd copied to clipboard
[MAYA-128016] Selection highlight in viewport does not show up on a prim after toggling "Mark/Unmark as Instanceable"
Describe the bug A prim that has been marked or unmarked as instanceable does not have the selection highlighted in the viewport.
Similar to #2651: it appears to be selected in the Outliner, however, the highlight is not displayed in the viewport. If we try to re-select the object in the viewport or outliner, it does not appear. It only appears after you move the prim and then, re-select it.
Steps to reproduce Steps to reproduce the behavior:
- Open
Kitchen_Set_instanced
- Select
ChairB_1
- Right click and select "Unmark as instanceable"
Notice that the ChairB_1
is selected in the outliner but it is not highlighted in the viewport. The same behaviour can be observed if you open Kitchen_set
and "Mark as instanceable"
It also prints the following error in the script editor:
// Error: Couldn't find primInfo for cache path /Kitchen_set/Props_grp/DiningTable_grp/ChairB_1
Expected behavior We would expect the selection highlight to reflect what is selected in the viewport.
Attachments
Specs (if applicable):
- Linux
- maya2023.2
- Maya USD commit SHA [dev at 302f393]
- Pixar USD commit SHA [dev at 60ed06c]
Pixar Internal JIRA MAYA-3508
Selection highlight will also stop working on Instanceable prims that have already been set on load. Highlight appears to work the first instance selected, but will drop and not return if you select any related instance of a previous selection.
Windows Maya 2022.4.1-27.0.PFIX using mayaUsdPlugin 0.19.0 with usd-21.11
Issue synced internally to EMSUSD-731
This appears to be partially fixed for us. Unmarking the chair preserves selection, while re-marking it causes selection to drop. Unmarking it (again) revives the selection...
Marking/Unmarking the entire kitchen_set preseves selection, perhaps because it is not originally marked as instanceable.
We are looking at a fix for re-marking.