Skip to content

Commit

Permalink
Merge pull request #2938 from Vsevolod1983/AddGetterSetterForEnableMa…
Browse files Browse the repository at this point in the history
…terialsInHdMayaSceneDelegate

Add a getter and a setter for enableMaterials in HdMayaSceneDelegate
  • Loading branch information
seando-adsk authored Mar 22, 2023
2 parents 29c9f64 + 9e5fe87 commit 687f883
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 687f883

Please sign in to comment.