Files
UnrealEngineUWP/Engine/Plugins/Experimental/PythonScriptPlugin
Jamie Dale fa47fcdea1 Added a way to force a change notify when using SetEditorProperty in Python or Editor Utilities, even if the value is unchanged
This may be needed if you've edited data on an instance indirectly (eg, modifying an array reference on the object), and need to force a change notification to update some dependent data.

In Python, this can be done by passing unreal.PropertyAccessChangeNotifyMode.ALWAYS as the notify_mode argument to set_editor_property.
In Editor Utilities, there is a new advanced pin available for setting the "Change Notify Mode".
In both cases the default method is to notify only when the value actually changes.

This change also significantly simplifies UK2Node_GetEditorProperty and UK2Node_SetEditorProperty by having them derive from UK2Node_CallFunction, rather than being a proxy node that expands to a UK2Node_CallFunction node.

#jira UE-80285
#rb Lauren.Barnes

[CL 10337069 by Jamie Dale in Dev-Editor branch]
2019-11-21 12:12:05 -05:00
..