diff --git a/lib/mayaHydra/hydraExtensions/adapters/adapter.cpp b/lib/mayaHydra/hydraExtensions/adapters/adapter.cpp index c62efcae5d..9f23c64176 100644 --- a/lib/mayaHydra/hydraExtensions/adapters/adapter.cpp +++ b/lib/mayaHydra/hydraExtensions/adapters/adapter.cpp @@ -18,7 +18,6 @@ #include #include #include -//#include #include #include diff --git a/lib/mayaHydra/hydraExtensions/adapters/meshAdapter.cpp b/lib/mayaHydra/hydraExtensions/adapters/meshAdapter.cpp index 5afc22fcdd..f378533db1 100644 --- a/lib/mayaHydra/hydraExtensions/adapters/meshAdapter.cpp +++ b/lib/mayaHydra/hydraExtensions/adapters/meshAdapter.cpp @@ -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) { } diff --git a/lib/mayaHydra/hydraExtensions/sceneIndex/mayaHydraSceneIndex.cpp b/lib/mayaHydra/hydraExtensions/sceneIndex/mayaHydraSceneIndex.cpp index 37e1dc8c22..38e6e0a771 100644 --- a/lib/mayaHydra/hydraExtensions/sceneIndex/mayaHydraSceneIndex.cpp +++ b/lib/mayaHydra/hydraExtensions/sceneIndex/mayaHydraSceneIndex.cpp @@ -1515,12 +1515,4 @@ VtValue MayaHydraSceneIndex::GetShadingStyle(SdfPath const& id) return VtValue(); } -// const std::shared_ptr MayaHydraSceneIndex::GetRenderIndexProxy() -// { -// if (! _producer){ -// TF_CODING_ERROR("The MayaHydraSceneIndex pointer should not be a nullptr !"); -// } -// return _producer->GetRenderIndexProxy(); -// } - PXR_NAMESPACE_CLOSE_SCOPE