Skip to content

Conversation

@Goober5000
Copy link
Contributor

  1. Add default strings for variables and containers, providing something more appropriate than <new default required!>.
  2. Replace the Assert in add_default_operator with a check for a valid variable index. This prevents a crash if FRED adds an operator that takes a variable as an argument and there are no variables in the mission.
  3. Add the correct variable type to get_listing_opf_variable_names() to fix SEXP tree construction in certain circumstances.

Apply the same fixes to QtFRED as well.

1. Add default strings for variables and containers, providing something more appropriate than `<new default required!>`.
2. Replace the `Assert` in `add_default_operator` with a check for a valid variable index.  This prevents a crash if FRED adds an operator that takes a variable as an argument and there are no variables in the mission.
3. Add the correct variable type to `get_listing_opf_variable_names()` to fix SEXP tree construction in certain circumstances.

Apply the same fixes to QtFRED as well.
@Goober5000 Goober5000 added fix A fix for bugs, not-a-bugs, and/or regressions. qtfred A feature or issue related to qtFred. sexps A feature or issue related to SEXPs fred A feature or issue related to the FReespace EDitor (FRED) labels Jan 29, 2026
@github-project-automation github-project-automation bot moved this to Work In Progress (PRs) in qtFRED2 Jan 29, 2026
@Goober5000 Goober5000 added this to the Release 25.0.1 milestone Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix for bugs, not-a-bugs, and/or regressions. fred A feature or issue related to the FReespace EDitor (FRED) qtfred A feature or issue related to qtFred. sexps A feature or issue related to SEXPs

Projects

Status: Work In Progress (PRs)

Development

Successfully merging this pull request may close these issues.

1 participant