Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

remove old stuff folder check (#1994)

shun-iwasawa831db6b5b156
diff --git a/toonz/sources/tcleanupper/tcleanupper.cpp b/toonz/sources/tcleanupper/tcleanupper.cpp
index 5066d2861..a8f41fa77 100644
--- a/toonz/sources/tcleanupper/tcleanupper.cpp
+++ b/toonz/sources/tcleanupper/tcleanupper.cpp
@@ -510,23 +510,6 @@ int main(int argc, char *argv[]) {
}
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();
if (fproot == TFilePath())
fatalError(string("Undefined: \"") + ::to_string(TEnv::getRootVarPath()) +
diff --git a/toonz/sources/tcomposer/tcomposer.cpp b/toonz/sources/tcomposer/tcomposer.cpp
index e38633cf4..be64744aa 100644
--- a/toonz/sources/tcomposer/tcomposer.cpp
+++ b/toonz/sources/tcomposer/tcomposer.cpp
@@ -622,15 +622,6 @@ int main(int argc, char *argv[]) {
}
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
TFilePath fp = TEnv::getStuffDir();
if (fp == TFilePath())