Skip to content

Commit

Permalink
[plugin/pxr] remove code that is only for MAYA_API_VERSION earlier th…
Browse files Browse the repository at this point in the history
…an 20180000
  • Loading branch information
mattyjams committed May 19, 2020
1 parent 36caf73 commit ea6c4f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugin/pxr/maya/plugin/pxrUsdPreviewSurface/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ _DeregisterFragments()
}
}

#if MAYA_API_VERSION >= 201700
// Clear the shader manager's effect cache as well so that any changes to
// the fragments will get picked up if they are re-registered.
const MHWRender::MShaderManager* shaderMgr =
Expand All @@ -202,7 +201,6 @@ _DeregisterFragments()
return status;
}
}
#endif

return MS::kSuccess;
}
Expand Down

0 comments on commit ea6c4f0

Please sign in to comment.