Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Fixed a regression bug that --datadir was broken
Browse files Browse the repository at this point in the history
  • Loading branch information
SoftFever committed Dec 30, 2023
1 parent 6060777 commit a9c0e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OrcaSlicer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5355,7 +5355,7 @@ bool CLI::setup(int argc, char **argv)
for (const t_optiondef_map::value_type &optdef : *options)
m_config.option(optdef.first, true);

//set_data_dir(m_config.opt_string("datadir"));
set_data_dir(m_config.opt_string("datadir"));

//FIXME Validating at this stage most likely does not make sense, as the config is not fully initialized yet.
if (!validity.empty()) {
Expand Down

0 comments on commit a9c0e3a

Please sign in to comment.