Skip to content

Commit

Permalink
Add a getter and a setter for enableMaterials in HdMayaSceneDelegate
Browse files Browse the repository at this point in the history
  • Loading branch information
Vsevolod Golovko authored and Vsevolod Golovko committed Mar 14, 2023
1 parent 04bb581 commit 9e5fe87
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/usd/hdMaya/delegates/sceneDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ class HdMayaSceneDelegate : public HdMayaDelegateCtx
MPointArray& worldSpaceHitPts) override;
#endif

bool GetEnableMaterials() const { return _enableMaterials; }
void SetEnableMaterials(bool enable) { _enableMaterials = enable; }

protected:
HDMAYA_API
HdMeshTopology GetMeshTopology(const SdfPath& id) override;
Expand Down

0 comments on commit 9e5fe87

Please sign in to comment.