Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy Pasting comments broken in 5.x #215

Open
chriszuko opened this issue Jul 15, 2024 · 0 comments
Open

Copy Pasting comments broken in 5.x #215

chriszuko opened this issue Jul 15, 2024 · 0 comments
Assignees

Comments

@chriszuko
Copy link

Figured I'd report the issue you can no longer copy paste comment nodes in latest 5.x (using that currently to try out the addon stuffs)
Seems like a simple whoops quickly looking at the code seems to filter purposefully only flow nodes.

MaksymKapelianovych added a commit to MaksymKapelianovych/FlowGraph that referenced this issue Jul 26, 2024
1. UFlowNode_Start now is substituted with UFlowNode_CustomInput when duplicating or copy/pasting. MothCocoon#205
2. Reset EventName in UFlowNode_CustomInput after duplicating or copy/pasting
3. Fix copy/pasting comments. MothCocoon#215
4. CanUserDeleteNode and CanDuplicateNode now use FlowNode's CDO if NodeInstance is NULL (always when pasting). This will prevent pasting nodes that cannot be duplicated, but are copied with other duplicable nodes.
5. Improve duplicating and copy/pasting of AddOns (as a reference was taken AIGraphEditor code)
  - duplicated AddOn is pasted on the same level as selected AddOn
  - allow pasting AddOns only if there is one SelectedNode
  - check if SelectedNode for paste can accept AddOn
  - fix copying AddOns if both AddOn and its ParentNode are selected
  - fix copying AddOns if there are other GraphNodes selected (not AddOns)
@MothDoctor MothDoctor self-assigned this Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants