Skip to content

Qtfred & FRED fix object cloning#7460

Merged
wookieejedi merged 7 commits into
scp-fs2open:masterfrom
MjnMixael:qtfred-fix-ship-cloning
Jun 2, 2026
Merged

Qtfred & FRED fix object cloning#7460
wookieejedi merged 7 commits into
scp-fs2open:masterfrom
MjnMixael:qtfred-fix-ship-cloning

Conversation

@MjnMixael
Copy link
Copy Markdown
Contributor

Fixes #6191 by creating a shared object duplication file with methods that mirror the parse/save fields and comments in each relevant place to help ensure they don't diverge again in the future. After doing this for ships it seemed prudent to do it for Jump Nodes, Waypoints, and Props as well. All cloneable object types should fully clone now instead of silently dropping field data.

I did sneak in a minor QtFRED feature here where shift-ctrl-drag allows inserting waypoints into a path rather than duplicating them into a new path. The code overhead is minor and related to the work here as I also had to fix ctrl-drag not working in QtFRED in the first place.

@MjnMixael MjnMixael added this to the Release 26.0 milestone May 14, 2026
@MjnMixael MjnMixael added qtfred A feature or issue related to qtFred. fred A feature or issue related to the FReespace EDitor (FRED) labels May 14, 2026
@github-project-automation github-project-automation Bot moved this to Work In Progress (PRs) in qtFRED2 May 14, 2026
@MjnMixael MjnMixael changed the title Qtfred & FRED fix ship cloning Qtfred & FRED fix object cloning May 14, 2026
Copy link
Copy Markdown
Contributor

@JohnAFernandez JohnAFernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually looks good as is, as far as I can tell. So much of it is just ship field duplication.

@github-project-automation github-project-automation Bot moved this from Work In Progress (PRs) to In Review (PRs) in qtFRED2 May 28, 2026
@MjnMixael MjnMixael force-pushed the qtfred-fix-ship-cloning branch from 64be31d to 2eeeb30 Compare June 1, 2026 14:10
@wookieejedi wookieejedi merged commit 05534f7 into scp-fs2open:master Jun 2, 2026
20 checks passed
@github-project-automation github-project-automation Bot moved this from In Review (PRs) to Done in qtFRED2 Jun 2, 2026
@MjnMixael MjnMixael deleted the qtfred-fix-ship-cloning branch June 2, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fred A feature or issue related to the FReespace EDitor (FRED) qtfred A feature or issue related to qtFred.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

FRED ship duplication does not duplicate all fields

3 participants