editor: adapt to dynamic nested props (#398)

This commit is contained in:
jean-emmanuel 2018-10-21 21:51:03 +02:00
parent 0a9929d0a0
commit 9b8dc27ba6

View file

@ -20,6 +20,7 @@ function updateWidget(widget, options={}) {
propValues = propNames.map(x => widget.props[x]),
linkedProps = []
Object.values(widget.nestedLinkedProps).forEach(l => linkedProps = linkedProps.concat(l))
Object.values(widget.linkedProps).forEach(l => linkedProps = linkedProps.concat(l))
Object.values(widget.linkedPropsValue).forEach(l => linkedProps = linkedProps.concat(l))
Object.values(widget.oscReceivers).forEach(r => linkedProps = linkedProps.concat(r.propNames))