Closed pixelzoom closed 10 years ago
When you need to listen to multiple properties, don't create a DerivedProperty that doesn't derive anything. Instead, use PropertySet.multilink (if all properties are part of the same set) or Property.multilink.
Here's an example in SolidBeamNode:
85 model.toDerivedProperty( [ 'flashlightWavelength', 'filterWavelength', 'light', 'filterVisible', 'beam' ],
Looks like the above may be the only candidate for this change.
Multilink seems more appropriate here. Thanks for pointing this out.
Closing.
When you need to listen to multiple properties, don't create a DerivedProperty that doesn't derive anything. Instead, use PropertySet.multilink (if all properties are part of the same set) or Property.multilink.
Here's an example in SolidBeamNode: