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
I create a new HdRenderPlugin. Its render delegate has 3 aovs (color, depth, primId).
Open usdview, switch renderer, and usdview crashes when I pick an object.
Description of Issue
I create a new HdRenderPlugin. Its render delegate has 3 aovs (color, depth, primId).
Open usdview, switch renderer, and usdview crashes when I pick an object.
I found a cause,
pxr/imaging/hdx/colorizeSelectionTask.cpp, Line 286-287, in HdxColorizeSelectionTask::_ColorizeSelection()
_instanceId
and_elementId
are accessed without null checks. (My render delegate does not provide instanceId nor elementId aov.)cf. In HdxPickFromRenderBufferTask, they are accessed with null checks.
pxr/imaging/hdx/pickFromRenderBufferTask.cpp, Line 191-196, in HdxPickFromRenderBufferTask::Execute()
I fixed ColorizeSelectionTask in reference to PickFromRenderBufferTask in my local, and the issue is cleared.
Steps to Reproduce
System Information (OS, Hardware)
OS: Windows 10 Pro (Version 21H2)
CPU: Intel® Core™ i3-4170
RAM: 8GB
GPU: GeForce GTX 980Ti (6GB)
Package Versions
USD 22.08 (with python 3.9)
Build Flags
Built by python build script,
Sincerely,
Shotaro Shirao.
(Sorry for my bad English.)
The text was updated successfully, but these errors were encountered: