Fixed protocol error when address is 0

This commit is contained in:
2023-02-22 00:20:48 +01:00
parent f866c87f5c
commit fb727f203e

View File

@ -337,6 +337,13 @@ void DmxController::sendDmxBuffer()
for (const auto &light : m_lightProject.devices)
{
if (!light.address)
{
if (iter != std::cend(sliders))
iter++;
continue;
}
auto deviceTypePtr = m_lightProject.deviceTypes.findById(light.deviceTypeId);
if (!deviceTypePtr)
{