Skip to content

Commit

Permalink
Show prim spec full path as tooltip for debugging purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
BigRoy committed Nov 30, 2023
1 parent 84de175 commit b7165b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usd_qtpy/prim_spec_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ def data(self, index, role):
item = index.data(TreeModel.ItemRole)
return item.get("icon")

if role == QtCore.Qt.ToolTipRole:
item = index.data(TreeModel.ItemRole)
return item.get("path")

return super(StageSdfModel, self).data(index, role)


Expand Down

0 comments on commit b7165b2

Please sign in to comment.