Cleaned up oven CLI

This commit is contained in:
seefo 2017-06-06 15:05:26 -07:00
parent 9bc1bc47a2
commit 46400f4122
3 changed files with 2 additions and 12 deletions

View file

@ -9,15 +9,12 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <memory>
#include <QImageReader> #include <QImageReader>
#include <QtCore/QDebug> #include <QtCore/QDebug>
#include "ModelBakingLoggingCategory.h" #include "ModelBakingLoggingCategory.h"
#include "Oven.h" #include "Oven.h"
#include "BakerCLI.h" #include "BakerCLI.h"
#include "FBXBaker.h" #include "FBXBaker.h"
#include "TextureBaker.h" #include "TextureBaker.h"

View file

@ -12,10 +12,6 @@
#ifndef hifi_BakerCLI_h #ifndef hifi_BakerCLI_h
#define hifi_BakerCLI_h #define hifi_BakerCLI_h
#include <QString>
#include <QUrl>
#include <QtCore/QThread>
#include <QtCore/QObject> #include <QtCore/QObject>
class BakerCLI : public QObject { class BakerCLI : public QObject {

View file

@ -12,13 +12,11 @@
#include <QtCore/QDebug> #include <QtCore/QDebug>
#include <QtCore/QThread> #include <QtCore/QThread>
#include <QtCore/QCommandLineParser> #include <QtCore/QCommandLineParser>
#include <QtCore/QCoreApplication>
#include <image/Image.h> #include <image/Image.h>
#include <SettingInterface.h> #include <SettingInterface.h>
#include "ui/OvenMainWindow.h" #include "ui/OvenMainWindow.h"
#include "ModelBakingLoggingCategory.h"
#include "Oven.h" #include "Oven.h"
#include "BakerCli.h" #include "BakerCli.h"
@ -37,11 +35,10 @@ Oven::Oven(int argc, char* argv[]) :
QCommandLineParser parser; QCommandLineParser parser;
parser.addOptions({ parser.addOptions({
{ "i", "Input filename.", "input" }, { "i", "Path to file that you would like to bake.", "input" },
{ "o", "Output filename.", "output" } { "o", "Path to folder that will be used as output.", "output" }
}); });
parser.addHelpOption(); parser.addHelpOption();
parser.process(*this); parser.process(*this);
// enable compression in image library, except for cube maps // enable compression in image library, except for cube maps