mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix Effects and refactor Smoothing (#1442)
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#include <leddevice/LedDeviceWrapper.h>
|
||||
|
||||
#include <hyperion/MultiColorAdjustment.h>
|
||||
#include "LinearColorSmoothing.h"
|
||||
#include <hyperion/LinearColorSmoothing.h>
|
||||
|
||||
#if defined(ENABLE_EFFECTENGINE)
|
||||
// effect engine includes
|
||||
@@ -303,10 +303,6 @@ void Hyperion::handleSettingsUpdate(settings::type type, const QJsonDocument& co
|
||||
|
||||
// TODO: Check, if framegrabber frequency is lower than latchtime..., if yes, stop
|
||||
}
|
||||
else if(type == settings::SMOOTHING)
|
||||
{
|
||||
_deviceSmooth->handleSettingsUpdate( type, config);
|
||||
}
|
||||
|
||||
// update once to push single color sets / adjustments/ ledlayout resizes and update ledBuffer color
|
||||
update();
|
||||
@@ -707,8 +703,6 @@ void Hyperion::update()
|
||||
}
|
||||
else
|
||||
{
|
||||
_deviceSmooth->selectConfig(priorityInfo.smooth_cfg);
|
||||
|
||||
// feed smoothing in pause mode to maintain a smooth transition back to smooth mode
|
||||
if (_deviceSmooth->enabled() || _deviceSmooth->pause())
|
||||
{
|
||||
|
Reference in New Issue
Block a user