Added Post-Resize Sharpening tool with some code cleanups, optimizations and language file consistency improvements. Issue 2825

This commit is contained in:
DrSlony
2015-07-02 15:39:53 +02:00
parent 607ecc82a5
commit af3bb68bf9
25 changed files with 1181 additions and 358 deletions

View File

@@ -22,12 +22,12 @@
// newer (non customized) versions of this file go to raw.cc_new
// This file is for your program, I won't touch it again!
#ifdef __GNUC__
#if defined(__FAST_MATH__)
#error Using the -ffast-math CFLAG is known to lead to problems. Disable it to compile RawTherapee.
#endif
#endif
#ifdef __GNUC__
#if defined(__FAST_MATH__)
#error Using the -ffast-math CFLAG is known to lead to problems. Disable it to compile RawTherapee.
#endif
#endif
#include "config.h"
#include <gtkmm.h>
@@ -320,7 +320,6 @@ int processLineParams( int argc, char **argv )
std::vector<Glib::ustring> inputFiles;
Glib::ustring outputPath = "";
std::vector<rtengine::procparams::PartialProfile*> processingParams;
bool isDirectory=false;
bool outputDirectory=false;
bool overwriteFiles=false;
bool sideProcParams=false;
@@ -429,7 +428,6 @@ int processLineParams( int argc, char **argv )
continue;
}
if( safe_file_test( safe_filename_to_utf8(argv[iArg]), Glib::FILE_TEST_IS_DIR )){
isDirectory = true;
std::vector<Glib::ustring> names;
Glib::RefPtr<Gio::File> dir = Gio::File::create_for_path ( argv[iArg] );
safe_build_file_list (dir, names, argv[iArg] );