mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-15 12:59:22 +02:00
Cleaned up oven CLI
This commit is contained in:
parent
9bc1bc47a2
commit
46400f4122
3 changed files with 2 additions and 12 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue