MDFastBinding
MDFastBinding copied to clipboard
Function nodes fall back to self when its function owner becomes null/invalid
It is possible for a function node to fall back to self as its Function Owner when it contains an error.
Steps to reproduce:
- Create a widget with two
TextBlock, and ensure that both are exposed as variables - Create a binding with a
Read a Propertynode for the firstTextBlock - Connect its output to a
Call a Functiondestination node, and set its function toSet Visibilitywith InVisibility parameter set toCollapsed - Switch to Designer mode, and delete the first
TextBlock - Observe that the
Call a Functionnode in the Binding Editor reports an error - Add the widget to the HUD and run PIE
- Observe that the widget is not displayed at all. Note that instead of not executing the binding at all, the owning widget’s visibility has been set to
Collapsed - Delete the binding and run PIE again
- Observe that the widget is now visible