Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r--source/creator/creator.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 2cd54deeab5..7f5ebb9e8a6 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -94,6 +94,10 @@
# include "sdlew.h"
#endif
+#ifdef WITH_USD
+# include "usd.h"
+#endif
+
#include "creator_intern.h" /* Own include. */
/* -------------------------------------------------------------------- */
@@ -469,6 +473,10 @@ int main(int argc,
/* Initialize sub-systems that use `BKE_appdir.h`. */
IMB_init();
+#ifdef WITH_USD
+ USD_ensure_plugin_path_registered();
+#endif
+
#ifndef WITH_PYTHON_MODULE
/* First test for background-mode (#Global.background) */
BLI_args_parse(ba, ARG_PASS_SETTINGS, NULL, NULL);