Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MAYA-128016] Selection highlight in viewport does not show up on a prim after toggling "Mark/Unmark as Instanceable" #2652

Open
gracekumagai opened this issue Oct 13, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@gracekumagai
Copy link

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:

  1. Open Kitchen_Set_instanced
  2. Select ChairB_1
  3. 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
unmarkasinstanceable_highlight_error

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

@gracekumagai gracekumagai added the bug Something isn't working label Oct 13, 2022
@simonstonge simonstonge added this to Needs triage in Issue Triage Oct 13, 2022
@santosg87 santosg87 moved this from Needs triage to Needs Internal Feedback in Issue Triage Oct 17, 2022
@santosg87 santosg87 changed the title Selection highlight in viewport does not show up on a prim after toggling "Mark/Unmark as Instanceable" [MAYA-128016] Selection highlight in viewport does not show up on a prim after toggling "Mark/Unmark as Instanceable" Mar 2, 2023
@kgoulding
Copy link

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

@santosg87 santosg87 moved this from Needs Internal Feedback to Scheduled in Issue Triage Mar 30, 2023
@maya-usd-git-sync
Copy link

Issue synced internally to EMSUSD-731

@dj-mcg
Copy link
Collaborator

dj-mcg commented Nov 20, 2023

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.

@wallworm
Copy link

We are looking at a fix for re-marking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Issue Triage
Scheduled
Status: Scheduled
Development

No branches or pull requests

5 participants