1
0
Fork 0

set the source before setting data so that source is available to data change callbacks.

This commit is contained in:
Kevin Matz 2021-07-31 10:14:26 -04:00
parent 92b211056e
commit dd1f4ff4ff
1 changed files with 3 additions and 2 deletions

View File

@ -108,11 +108,12 @@ void Universe::set(std::shared_ptr<DMP::Pdu> dmp,
if (pr.count < 1 || pr.count > 513)
return;
setSource(source);
// 7.7 Property Values (DMX512-A Data)
/// The DMP Layer's Property values field is used to encode the
// The DMP Layer's Property values field is used to encode the
// DMX512-A [DMX] START Code and data.
DMX::Universe::setData(pd);
setSource(source);
}