mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-08 23:12:16 +02:00
disable jsbaker
This commit is contained in:
parent
759d59c709
commit
7cbda006a0
2 changed files with 6 additions and 2 deletions
|
@ -55,8 +55,9 @@ void BakerCLI::bakeFile(QUrl inputUrl, const QString& outputPath, const QString&
|
|||
}
|
||||
}
|
||||
} else if (type == SCRIPT_EXTENSION) {
|
||||
_baker = std::unique_ptr<Baker> { new JSBaker(inputUrl, outputPath) };
|
||||
_baker->moveToThread(Oven::instance().getNextWorkerThread());
|
||||
// FIXME: disabled for now because it breaks some scripts
|
||||
//_baker = std::unique_ptr<Baker> { new JSBaker(inputUrl, outputPath) };
|
||||
//_baker->moveToThread(Oven::instance().getNextWorkerThread());
|
||||
} else if (type == MATERIAL_EXTENSION) {
|
||||
_baker = std::unique_ptr<Baker> { new MaterialBaker(inputUrl.toDisplayString(), true, outputPath) };
|
||||
_baker->moveToThread(Oven::instance().getNextWorkerThread());
|
||||
|
|
|
@ -397,6 +397,8 @@ void DomainBaker::enumerateEntities() {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: disabled for now because it breaks some scripts
|
||||
/*
|
||||
// Scripts
|
||||
if (entity.contains(SCRIPT_KEY)) {
|
||||
addScriptBaker(SCRIPT_KEY, entity[SCRIPT_KEY].toString(), *it);
|
||||
|
@ -404,6 +406,7 @@ void DomainBaker::enumerateEntities() {
|
|||
if (entity.contains(SERVER_SCRIPTS_KEY)) {
|
||||
// TODO: serverScripts can be multiple scripts, need to handle that
|
||||
}
|
||||
*/
|
||||
|
||||
// Materials
|
||||
if (entity.contains(MATERIAL_URL_KEY)) {
|
||||
|
|
Loading…
Reference in a new issue