mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 22:16:58 +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
|
// 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"
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue