Skip to content

Commit

Permalink
minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
roopavr-adsk committed Mar 14, 2024
1 parent 919087f commit 3b7780f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion lib/mayaHydra/hydraExtensions/adapters/adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <mayaHydraLib/adapters/adapterDebugCodes.h>
#include <mayaHydraLib/adapters/materialNetworkConverter.h>
#include <mayaHydraLib/adapters/mayaAttrs.h>
//#include <mayaHydraLib/mayaHydraSceneProducer.h>
#include <mayaHydraLib/sceneIndex/mayaHydraSceneIndex.h>

#include <pxr/base/tf/type.h>
Expand Down
2 changes: 1 addition & 1 deletion lib/mayaHydra/hydraExtensions/adapters/meshAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class MayaHydraMeshAdapter : public MayaHydraShapeAdapter
{
public:
MayaHydraMeshAdapter(MayaHydraSceneIndex* mayaHydraSceneIndex, const MDagPath& dag)
: MayaHydraShapeAdapter(GetMayaHydraSceneIndex()->GetPrimPath(dag, false), mayaHydraSceneIndex, dag)
: MayaHydraShapeAdapter(mayaHydraSceneIndex->GetPrimPath(dag, false), mayaHydraSceneIndex, dag)
{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1515,12 +1515,4 @@ VtValue MayaHydraSceneIndex::GetShadingStyle(SdfPath const& id)
return VtValue();
}

// const std::shared_ptr<Fvp::RenderIndexProxy> MayaHydraSceneIndex::GetRenderIndexProxy()
// {
// if (! _producer){
// TF_CODING_ERROR("The MayaHydraSceneIndex pointer should not be a nullptr !");
// }
// return _producer->GetRenderIndexProxy();
// }

PXR_NAMESPACE_CLOSE_SCOPE

0 comments on commit 3b7780f

Please sign in to comment.