You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usdview prints a traceback if you press 'f' to focus in the tree view with the root prim selected, since it calls item = item.parent() before checking if item.parent() is valid. That results in the following error:
AttributeError: 'NoneType' object has no attribute 'parent'
def ExpandItemRecursively(self, item):
while item.parent():
item = item.parent()
if not item.isExpanded():
self.expandItem(item)
Steps to Reproduce
Open usdview
With mouse focus in the tree view and the 'root' prim still selected, press the 'f' key. Check the terminal for the (fortunately non-critical) traceback.
System Information (OS, Hardware)
Linux, CentOS 7 (bug affects all platforms though)
Package Versions
Tested bug and fix in 0.20.5, and relevant code doesn't seem to have changed and is still present in the latest builds.
Build Flags
N/A (non-compiled python code change only)
The text was updated successfully, but these errors were encountered:
Hello @mds-dwa Just letting you know that we are working on this as software engineers at the University of Adelaide for a software project. Thanks for the issue!
Description of Issue
usdview prints a traceback if you press 'f' to focus in the tree view with the root prim selected, since it calls
item = item.parent()
before checking if item.parent() is valid. That results in the following error:A simple change to ExpandItemRecursively in pxr/usdImaging/usdviewq/primTreeWidget.py should resolve this:
Steps to Reproduce
System Information (OS, Hardware)
Package Versions
Build Flags
N/A (non-compiled python code change only)
The text was updated successfully, but these errors were encountered: