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
//
#include <memory>
#include <QImageReader>
#include <QtCore/QDebug>
#include "ModelBakingLoggingCategory.h"
#include "Oven.h"
#include "BakerCLI.h"
#include "FBXBaker.h"
#include "TextureBaker.h"

View file

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

View file

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