Troubleshooting and ...

- More i18n
- Easy use of mutual exclusion in JsonAPI with QMutexLocker
- Smoothing type "linear" hidden in the WebUI, because there is currently only one
- Message forwarding implemented again
- For compatibility to home assistants and other remote controls, "activeEffects" and "activeLedColor" has been added to the JSON-RPC
- FlatBuffer clear now the Priority on disconnect
- The information "available V4L2 devices" is now only displayed if the device list is not empty
- LED device "PiBlaster" excluded from OSX build
This commit is contained in:
Paulchen-Panther
2019-02-03 14:36:57 +01:00
parent a412c34e68
commit 657fe00211
28 changed files with 339 additions and 146 deletions

View File

@@ -70,7 +70,7 @@ void ImageProcessor::setSize(const unsigned width, const unsigned height)
}
// Clean up the old buffer and mapping
delete _imageToLeds;
_imageToLeds = 0;
// Construct a new buffer and mapping
_imageToLeds = (width>0 && height>0) ? (new ImageToLedsMap(width, height, 0, 0, _ledString.leds())) : nullptr;
@@ -85,7 +85,7 @@ void ImageProcessor::setLedString(const LedString& ledString)
const unsigned height = _imageToLeds->height();
// Clean up the old buffer and mapping
delete _imageToLeds;
_imageToLeds = 0;
// Construct a new buffer and mapping
_imageToLeds = new ImageToLedsMap(width, height, 0, 0, _ledString.leds());