From 73e559c5f268eb04749e7e6e11761f28d586abc9 Mon Sep 17 00:00:00 2001 From: Alex Swindler Date: Mon, 1 Jul 2013 04:30:00 +0000 Subject: [PATCH] Merging Elaine's bug fix [#46624917] --- openstudiocore/src/analysis/DataPoint.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openstudiocore/src/analysis/DataPoint.cpp b/openstudiocore/src/analysis/DataPoint.cpp index f8a4e7e52dc..32b9694750a 100644 --- a/openstudiocore/src/analysis/DataPoint.cpp +++ b/openstudiocore/src/analysis/DataPoint.cpp @@ -84,7 +84,8 @@ namespace detail { m_problem(other.problem()), m_variableValues(other.variableValues()), m_responseValues(other.responseValues()), - m_directory(other.directory()) + m_directory(other.directory()), + m_topLevelJob(other.topLevelJob()) { if (other.osmInputData()) { m_osmInputData = other.osmInputData().get().clone(); @@ -102,6 +103,9 @@ namespace detail { m_tags.push_back(tag.clone()); } // DLM: TODO should we clone topLevelJob? for now do nothing. + // ETH: Need to clone topLevelJob for save as-ing SimpleProject. + // Am trying just pulling the same runmanager::Job over. When it + // gets to osp, should just keep uuid. // DLM: TODO should we clone dakotaParametersFiles? for now do nothing. }