Skip to content

Commit

Permalink
Fix check state for displayGuide, displayProxy, displayRender - but i…
Browse files Browse the repository at this point in the history
…t still doesn't seem to influence the view
  • Loading branch information
BigRoy committed Dec 1, 2023
1 parent 6c76b47 commit 2ac7afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usd_qtpy/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def set_rendermode(action):
key = f"display{purpose}"
action = purpose_menu.addAction(purpose)
action.setCheckable(True)
action.setChecked(getattr(self.model.viewSettings, key) == purpose)
action.setChecked(getattr(self.model.viewSettings, key))
action.toggled.connect(
partial(setattr, self.model.viewSettings, key)
)
Expand Down

0 comments on commit 2ac7afd

Please sign in to comment.