Don't update TimePeriod ranges for inactive objects

fixes #12511
This commit is contained in:
Gunnar Beutner 2016-08-23 06:59:52 +02:00 committed by Michael Friedrich
parent 53f5a603ce
commit 82b6ef4301

View File

@ -345,6 +345,9 @@ void TimePeriod::UpdateTimerHandler(void)
double now = Utility::GetTime();
BOOST_FOREACH(const TimePeriod::Ptr& tp, ConfigType::GetObjectsByType<TimePeriod>()) {
if (!tp->IsActive())
continue;
double valid_end;
{