Skip to content

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

C

Setup third party before initializing environments

Abel You48222d1ba916
diff --git a/toonz/sources/toonz/main.cpp b/toonz/sources/toonz/main.cpp
index 2d7bcabf1..c21dc77da 100644
--- a/toonz/sources/toonz/main.cpp
+++ b/toonz/sources/toonz/main.cpp
@@ -488,12 +488,12 @@ int main(int argc, char *argv[]) {
TBigMemoryManager::instance()->setRunOutOfContiguousMemoryHandler(
&toonzRunOutOfContMemHandler);
- // Toonz environment
- initToonzEnv(argumentPathValues);
-
// Setup third party
ThirdParty::initialize();
+ // Toonz environment
+ initToonzEnv(argumentPathValues);
+
// prepare for 30bit display
if (Preferences::instance()->is30bitDisplayEnabled()) {
QSurfaceFormat sFmt = QSurfaceFormat::defaultFormat();