Skip to content

Commit 2fd41ec

Browse files
committed
Merging master into develop
1 parent d0f8a3b commit 2fd41ec

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(CCACHE_PROGRAM)
1616
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE_PROGRAM} CACHE FILEPATH "C compiler cache used")
1717
endif()
1818

19-
project(OpenStudioApplication VERSION 1.7.1)
19+
project(OpenStudioApplication VERSION 1.7.2)
2020

2121
# Check system info globally so we can use it everywhere after: Has to be done before FindOpenStudioSDK.cmake
2222
if(APPLE)

src/openstudio_lib/OSDocument.cpp

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,23 +1493,9 @@ std::vector<BCLComponent> OSDocument::componentAttributeSearch(const std::vector
14931493
}
14941494

14951495
boost::optional<BCLMeasure> OSDocument::standardReportMeasure() {
1496-
const std::string uid("a25386cd-60e4-46bc-8b11-c755f379d916");
1497-
boost::optional<BCLMeasure> result = getLocalMeasure(uid);
1498-
1499-
if (!result) {
1500-
// if we don't have a result measure in local bcl, use the one in the installer
1501-
result = BCLMeasure::load(m_resourcesPath / toPath("openstudio_results"));
1502-
}
1503-
1504-
if (m_haveLocalBCL && RemoteBCL::isOnline()) {
1505-
RemoteBCL remoteBCL;
1506-
boost::optional<BCLMeasure> onlineResult = remoteBCL.getMeasure(uid);
1507-
if (onlineResult) {
1508-
result = onlineResult;
1509-
}
1510-
}
1511-
1512-
return result;
1496+
// DLM: Breaking changes in openstudio_results measures prevent us from being able to ensure
1497+
// that measure in users local BCL or remote BCL will work, just use measure in installer
1498+
return BCLMeasure::load(m_resourcesPath / toPath("openstudio_results"));
15131499
}
15141500

15151501
bool OSDocument::save() {

0 commit comments

Comments
 (0)