Skip to content

Commit

Permalink
Remove unused hitMode field from HdxPickTaskContextParams.
Browse files Browse the repository at this point in the history
(Internal change: 2099964)
  • Loading branch information
c64kernal authored and pixar-oss committed Sep 29, 2020
1 parent b010346 commit 722bbab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions pxr/imaging/hdx/pickTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,6 @@ operator==(HdxPickTaskContextParams const& lhs,
rhsDepthMaskPtr ? *rhsDepthMaskPtr : nullptr;

return lhs.resolution == rhs.resolution
&& lhs.hitMode == rhs.hitMode
&& lhs.pickTarget == rhs.pickTarget
&& lhs.resolveMode == rhs.resolveMode
&& lhs.doUnpickablesOcclude == rhs.doUnpickablesOcclude
Expand Down Expand Up @@ -994,7 +993,6 @@ operator<<(std::ostream& out, HdxPickTaskContextParams const& p)

out << "PickTask Context Params: (...) "
<< p.resolution << " "
<< p.hitMode << " "
<< p.pickTarget << " "
<< p.resolveMode << " "
<< p.doUnpickablesOcclude << " "
Expand Down
6 changes: 0 additions & 6 deletions pxr/imaging/hdx/pickTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ PXR_NAMESPACE_OPEN_SCOPE
/* Task context */ \
(pickParams) \
\
/* Hit mode */ \
(hitFirst) \
(hitAll) \
\
/* Pick target */ \
(pickPrimsAndInstances) \
(pickFaces) \
Expand Down Expand Up @@ -122,7 +118,6 @@ struct HdxPickTaskContextParams

HdxPickTaskContextParams()
: resolution(128, 128)
, hitMode(HdxPickTokens->hitFirst)
, pickTarget(HdxPickTokens->pickPrimsAndInstances)
, resolveMode(HdxPickTokens->resolveNearestToCamera)
, doUnpickablesOcclude(false)
Expand All @@ -135,7 +130,6 @@ struct HdxPickTaskContextParams
{}

GfVec2i resolution;
TfToken hitMode;
TfToken pickTarget;
TfToken resolveMode;
bool doUnpickablesOcclude;
Expand Down

0 comments on commit 722bbab

Please sign in to comment.