remove old stuff folder check (#1994)
This commit is contained in:
parent
4ea5e5034a
commit
831db6b5b1
2 changed files with 0 additions and 26 deletions
|
@ -510,23 +510,6 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
if (i == argc) TMsgCore::instance()->connectTo("");
|
if (i == argc) TMsgCore::instance()->connectTo("");
|
||||||
|
|
||||||
// TThread::init(); //For the ImageManager construction
|
|
||||||
// controllo se la xxxroot e' definita e corrisponde ad un file esistente
|
|
||||||
#ifdef MACOSX
|
|
||||||
|
|
||||||
// StuffDir
|
|
||||||
|
|
||||||
QFileInfo infoStuff(QString("Toonz 7.1 stuff"));
|
|
||||||
TFilePath stuffDirPath(infoStuff.absoluteFilePath().toStdString());
|
|
||||||
TEnv::setStuffDir(stuffDirPath);
|
|
||||||
|
|
||||||
/*
|
|
||||||
TFilePath stuffDir("/Applications/Toonz 7.1/Toonz 7.1 stuff");
|
|
||||||
|
|
||||||
TEnv::setStuffDir(stuffDir);
|
|
||||||
*/
|
|
||||||
#endif
|
|
||||||
|
|
||||||
TFilePath fproot = TEnv::getStuffDir();
|
TFilePath fproot = TEnv::getStuffDir();
|
||||||
if (fproot == TFilePath())
|
if (fproot == TFilePath())
|
||||||
fatalError(string("Undefined: \"") + ::to_string(TEnv::getRootVarPath()) +
|
fatalError(string("Undefined: \"") + ::to_string(TEnv::getRootVarPath()) +
|
||||||
|
|
|
@ -622,15 +622,6 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
if (i == argc) TMsgCore::instance()->connectTo("");
|
if (i == argc) TMsgCore::instance()->connectTo("");
|
||||||
|
|
||||||
// TODO: non va qui. Bisognerebbe semmai modificare l'implementazione
|
|
||||||
// delle TEnv:: precedenti. Discutiamone
|
|
||||||
#ifdef MACOSX
|
|
||||||
// StuffDir
|
|
||||||
QFileInfo infoStuff(QString("Toonz 7.1 stuff"));
|
|
||||||
TFilePath stuffDirPath(infoStuff.absoluteFilePath().toStdString());
|
|
||||||
TEnv::setStuffDir(stuffDirPath);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// controllo se la xxxroot e' definita e corrisponde ad un file esistente
|
// controllo se la xxxroot e' definita e corrisponde ad un file esistente
|
||||||
TFilePath fp = TEnv::getStuffDir();
|
TFilePath fp = TEnv::getStuffDir();
|
||||||
if (fp == TFilePath())
|
if (fp == TFilePath())
|
||||||
|
|
Loading…
Reference in a new issue