void Function::postRun(MasterTimer* timer, UniverseArray* universes) { Q_UNUSED(timer); Q_UNUSED(universes); m_stopMutex.lock(); resetElapsed(); resetIntensity(); m_stop = true; m_functionStopped.wakeAll(); m_stopMutex.unlock(); emit stopped(m_id); }
void Function::postRun(MasterTimer* timer, UniverseArray* universes) { Q_UNUSED(timer); Q_UNUSED(universes); m_stopMutex.lock(); resetElapsed(); resetIntensity(); m_stop = true; m_overrideFadeInSpeed = defaultSpeed(); m_overrideFadeOutSpeed = defaultSpeed(); m_overrideDuration = defaultSpeed(); m_functionStopped.wakeAll(); m_stopMutex.unlock(); m_running = false; emit stopped(m_id); }