diff --git a/lib/mayaHydra/flowViewportAPIExamples/footPrintNode/CMakeLists.txt b/lib/mayaHydra/flowViewportAPIExamples/footPrintNode/CMakeLists.txt index 6ff03b6b0f..ee1d5ff7cf 100644 --- a/lib/mayaHydra/flowViewportAPIExamples/footPrintNode/CMakeLists.txt +++ b/lib/mayaHydra/flowViewportAPIExamples/footPrintNode/CMakeLists.txt @@ -88,8 +88,10 @@ install(TARGETS ${TARGET_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/maya) if(IS_WINDOWS) - install(FILES $ - DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/maya OPTIONAL) + if (NOT CODE_COVERAGE) + install(FILES $ + DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/maya OPTIONAL) + endif() endif() set(LIBFILENAME ${CMAKE_SHARED_LIBRARY_PREFIX}${TARGET_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}) diff --git a/lib/mayaHydra/mayaPlugin/renderOverride.cpp b/lib/mayaHydra/mayaPlugin/renderOverride.cpp index 6276d8357b..1da7fb4a7e 100644 --- a/lib/mayaHydra/mayaPlugin/renderOverride.cpp +++ b/lib/mayaHydra/mayaPlugin/renderOverride.cpp @@ -888,7 +888,7 @@ void MtohRenderOverride::ClearHydraResources(bool fullReset) // Leak the Maya scene index, as its base class HdRetainedSceneIndex // destructor crashes under Windows clang code coverage build. _mayaHydraSceneIndex->RemoveCallbacksAndDeleteAdapters(); - _mayaHydraSceneIndex.release(); + _mayaHydraSceneIndex.Reset(); #else _ClearMayaHydraSceneIndex(); #endif diff --git a/lib/mayaHydra/mayaPlugin/renderOverride.h b/lib/mayaHydra/mayaPlugin/renderOverride.h index 061f59d8ee..15ba6bcc3a 100644 --- a/lib/mayaHydra/mayaPlugin/renderOverride.h +++ b/lib/mayaHydra/mayaPlugin/renderOverride.h @@ -179,7 +179,6 @@ class MtohRenderOverride : public MHWRender::MRenderOverride [&panelName](const PanelCallbacks& item) { return item.first == panelName; }); } - MAYAHYDRALIB_API void _PopulateSelectionList( const HdxPickHitVector& hits, const MHWRender::MSelectionInfo& selectInfo,