The following commit has been merged in the master branch:
commit 649f6e4b0d2e19481dbf357a8368b2a2310b01e5
Author: Andrei Zavada <[email protected]>
Date: Sun Sep 30 22:11:34 2012 +0300
MF: preserve tunables when reopening a previous run
diff --git a/src/ui/modelrun-facility.cc b/src/ui/modelrun-facility.cc
index ef7c9db..9388d4c 100644
--- a/src/ui/modelrun-facility.cc
+++ b/src/ui/modelrun-facility.cc
@@ -99,9 +99,9 @@ SModelrunFacility (agh::ach::CModelRun& csim, SExpDesignUI&
parent)
auto t = min((size_t)tuple.second,
(size_t)agh::ach::TTunable::_basic_tunables - 1);
gtk_adjustment_configure(
jdst,
- _p.ED->tunables0[t] *
agh::ach::stock[t].display_scale_factor,
- _p.ED->tlo[t] *
agh::ach::stock[t].display_scale_factor,
- _p.ED->thi[t] *
agh::ach::stock[t].display_scale_factor,
+ csimulation.tx [t] *
agh::ach::stock[t].display_scale_factor,
+ csimulation.tlo[t] *
agh::ach::stock[t].display_scale_factor,
+ csimulation.thi[t] *
agh::ach::stock[t].display_scale_factor,
agh::ach::stock[t].adj_step,
agh::ach::stock[t].adj_step * 10,
0.);
--
Sleep experiment manager
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit