mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Moved clean_filename to file_utils.cpp where it belongs;
Split up images exporting, and moved it to data/formats/image git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1085 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+1
-4
@@ -18,7 +18,6 @@
|
||||
#include <cli/text_io_handler.hpp>
|
||||
#include <gui/welcome_window.hpp>
|
||||
#include <gui/update_checker.hpp>
|
||||
#include <gui/images_export_window.hpp>
|
||||
#include <gui/packages_window.hpp>
|
||||
#include <gui/set/window.hpp>
|
||||
#include <gui/symbol/window.hpp>
|
||||
@@ -220,10 +219,8 @@ int MSE::OnRun() {
|
||||
path += _("/x");
|
||||
out = out.substr(pos + 1);
|
||||
}
|
||||
wxFileName fn(path);
|
||||
// export
|
||||
ExportCardImages exporter;
|
||||
exporter.exportImages(set, fn, out, CONFLICT_NUMBER_OVERWRITE);
|
||||
export_images(set, set->cards, path, out, CONFLICT_NUMBER_OVERWRITE);
|
||||
return EXIT_SUCCESS;
|
||||
} else {
|
||||
handle_error(_("Invalid command line argument:\n") + String(argv[1]));
|
||||
|
||||
Reference in New Issue
Block a user