v2.5.2 (30 jul. 2024)
You may encounter errors that require fixing following this update.
NEW FEATURES
Added multi-selection system. Customize the selection box brush in a Graph Customization asset.
Pressing CTRL + A in a graph editor will select all the nodes.
Added a grid cell system in the graph, dividing it into sections (cells) to improve efficiency of multi-selection.
Added tooltips to default pin widgets that display the pin's description. If a connection preview is active, they indicate whether a connection can be made and provide the reason if it can't.
Pins can now be replaced if the connection reason is suitable.
Added GetPinValidityMessage static function that returns messages about the validity of a pin connection.
Added UExecutionPinBase::GetFriendlyPinToolTipText function that shows user-friendly tooltips with details about the pin.
Added UExecutionPinBase::IsReplaceable to check if a pin can be replaced.
Added UGraphEditorBase::GetActiveGraphObject - UGraphEditorBase::IsGraphLoaded and UGraphEditorBase::ClearGraph functions.
Added UOpenLogicTask::ExecuteAndCompleteTask and UOpenLogicTask::GetContext functions.
Added a new event UNodeBase::OnNodeUnregistered.
Added UNodeBase::SetNodePosition function.
Added new static functions CreateRuntimeWorkerFromObject and CreateRuntimeWorkerFromStruct.
Added the OnTaskNodePlacedInGraph event to UNodePaletteBase.
Added CanConnectToMultiple variable to UOpenLogicProperty.
Added "InPinWidget" as a bindable widget for execution pins. If valid, the UExecutionPinBase::GetGraphPosition will use this widget as a reference.
Added UNodeBase->OnNodeDesiredSizeChanged event dispatcher.
IMPROVEMENTS
The functions UNodeBase::AddToMovingNodes() and UNodeBase::RemoveFromMovingNodes() are now automatically managed by the selection system.
Pin connections now automatically update when the desired size of a node changes.
The desired size of default pins now affects the overall size of the node in the default node widget.
You can now change the grid snap size through a Graph Customization asset.
PinConnectionClass can now be changed directly in UNodeBase.
Graph Editors now reload automatically when a Widget class is recompiled.
The node palette now lists all tasks, even those which have the same name.
The default graph editor Initialize function is now moved to C++ as UGraphEditorBase::InitializeGraphEditor.
Improved UGraphEditorBase::LoadGraph function.
UExecutionPinBase::CanConnectTo function now gives specific reasons why a connection can't be made.
Replaced the default grid material with a native Slate-painted grid, similar to Blueprint, which can be customized in a Graph Customization asset.
The payload editor will now be displayed within the node as a displayable widget. The widget container is no longer necessary.
The payload editor now supports simultaneous task selection.
DEPRECATION
Deprecated UOpenLogicTask->InputPinsCount and UOpenLogicTask->OutputPinsCount. Use getters instead.
Deprecated UConnectionBase class.
Deprecated UOpenLogicPayloadWidget class.
RENAME
Renamed UNodeBase::NodeInitialization to OnNodeRegistered.
Renamed UOpenLogicTask::OnTaskBegin to OnTaskActivated.
Renamed UOpenLogicTask::OnTaskEnd to OnTaskCompleted.
Renamed UOpenLogicTask::OnEditorNodeInitialized to OnGraphNodeInitialized.
Renamed UOpenLogicTask::OnEditorNodeSaved to OnGraphNodeSaved.
Renamed UOpenLogicTask::CallOutputPin to ExecutePin.
Last updated