diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 9ef039900..5e2a26f10 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1581,7 +1581,6 @@ if (WINDOWS) add_custom_target(copy_w_viewer_manifest ALL DEPENDS ${CMAKE_CFG_INTDIR}/copy_touched.bat) - if(EXISTS ${VISUAL_STUDIO_REDISTRIBUTABLE_PATH}) add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/redist @@ -1600,10 +1599,12 @@ if (WINDOWS) ) add_custom_target(copy_w_redist ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/redist/${VISUAL_STUDIO_REDISTRIBUTABLE_NAME}) + + add_dependencies(${VIEWER_BINARY_NAME} copy_w_redist) endif() - add_dependencies(${VIEWER_BINARY_NAME} stage_third_party_libs llcommon copy_w_viewer_manifest copy_w_redist) + add_dependencies(${VIEWER_BINARY_NAME} stage_third_party_libs llcommon copy_w_viewer_manifest) if (EXISTS ${CMAKE_SOURCE_DIR}/copy_win_scripts) add_dependencies(${VIEWER_BINARY_NAME} copy_win_scripts) diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index e5126bb45..e7821fe63 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -1619,7 +1619,7 @@ void LLModelPreview::rebuildUploadData() { LLQuaternion bind_rot = LLSkinningUtil::getUnscaledQuaternion(high_lod_model->mSkinInfo.mBindShapeMatrix); LLQuaternion identity; - if (!bind_rot.isEqualEps(identity,0.01)) + if (!bind_rot.isEqualEps(identity,0.01f)) { LL_WARNS() << "non-identity bind shape rot. mat is " << high_lod_model->mSkinInfo.mBindShapeMatrix << " bind_rot " << bind_rot << LL_ENDL;