diff options
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 3d76d832d9f..37fbf0cf76a 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -442,23 +442,6 @@ int main(int argc, BKE_materials_init(); -#ifdef WITH_USD - /* Workaround to make it possible to pass a path at runtime to USD. - * - * USD requires some JSON files, and it uses a static constructor to determine the possible - * file-system paths to find those files. This made it impossible for Blender to pass a path to - * the USD library at runtime, as the constructor would run before Blender's main() function. - * We have patched USD (see usd.diff) to avoid that particular static constructor, and have an - * initialization function instead. - * - * This function is implemented in the USD source code, `pxr/base/lib/plug/initConfig.cpp`. */ - extern void usd_initialise_plugin_path(const char *datafiles_usd_path); - - /* Tell USD which directory to search for its JSON files. If 'datafiles/usd' - * does not exist, the USD library will not be able to read or write any files. */ - usd_initialise_plugin_path(BKE_appdir_folder_id(BLENDER_DATAFILES, "usd")); -#endif /* WITH_USD */ - if (G.background == 0) { #ifndef WITH_PYTHON_MODULE BLI_argsParse(ba, 2, NULL, NULL); |