set the source before setting data so that source is available to data change callbacks.
This commit is contained in:
parent
92b211056e
commit
dd1f4ff4ff
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue