Skip to content

Commit

Permalink
Sanitize development histories in more places
Browse files Browse the repository at this point in the history
Ensure mandatory modules are enabled when needed, depending on image type
  • Loading branch information
aurelienpierre committed Oct 19, 2024
1 parent 0e94264 commit 10e3093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/develop/develop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1791,6 +1791,8 @@ void dt_dev_read_history_ext(dt_develop_t *dev, const int imgid, gboolean no_ima
continue;
}

_sanitize_modules(hist->module);

// Run a battery of tests
const gboolean is_valid_module_name = (strcmp(module_name, hist->module->op) == 0);
const gboolean is_valid_blendop_version = (blendop_version == dt_develop_blend_version());
Expand Down

0 comments on commit 10e3093

Please sign in to comment.