Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pxr/imaging/hd/sceneDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ struct HdPrimvarDescriptor {
: name(name_), interpolation(interp_), role(role_), indexed(indexed_)
{ }
bool operator==(HdPrimvarDescriptor const& rhs) const {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we'll want to add a test, similar to what @nvidia-jomiller did in PixarAnimationStudios#1807, that fails without the change, and passes with it. Thanks!

return name == rhs.name && role == rhs.role
&& interpolation == rhs.interpolation;
return name == rhs.name && role == rhs.role;
}
bool operator!=(HdPrimvarDescriptor const& rhs) const {
return !(*this == rhs);
Expand Down