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:
authorCampbell Barton <ideasman42@gmail.com>2020-08-01 13:04:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-08-01 13:04:22 +0300
commit6141549feefcdd33ba36cecf7fb97f0b360f3bb4 (patch)
tree7173686916e51b13b958a3466e274383cc3216d5
parent6119f3cad1707401466c59f8e90aed9c790d6ac9 (diff)
Fix error in recent rename
This function is defined outside of Blender.
-rw-r--r--source/blender/io/usd/tests/usd_stage_creation_test.cc4
-rw-r--r--source/creator/creator.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/io/usd/tests/usd_stage_creation_test.cc b/source/blender/io/usd/tests/usd_stage_creation_test.cc
index 97d23f57175..e6bd0bab6ce 100644
--- a/source/blender/io/usd/tests/usd_stage_creation_test.cc
+++ b/source/blender/io/usd/tests/usd_stage_creation_test.cc
@@ -28,7 +28,7 @@
extern "C" {
/* Workaround to make it possible to pass a path at runtime to USD. See creator.c. */
-void usd_init_plugin_path(const char *datafiles_usd_path);
+void usd_initialise_plugin_path(const char *datafiles_usd_path);
}
namespace blender::io::usd {
@@ -46,7 +46,7 @@ TEST_F(USDStageCreationTest, JSONFileLoadingTest)
char usd_datafiles_dir[FILE_MAX];
BLI_path_join(usd_datafiles_dir, FILE_MAX, release_dir.c_str(), "datafiles", "usd", nullptr);
- usd_init_plugin_path(usd_datafiles_dir);
+ usd_initialise_plugin_path(usd_datafiles_dir);
/* Simply the ability to create a USD Stage for a specific filename means that the extension
* has been recognized by the USD library, and that a USD plugin has been loaded to write such
diff --git a/source/creator/creator.c b/source/creator/creator.c
index d53d2cb053d..2793765bf2c 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -127,7 +127,7 @@ void main_python_exit(void);
*
* This function is implemented in the USD source code, `pxr/base/lib/plug/initConfig.cpp`.
*/
-void usd_init_plugin_path(const char *datafiles_usd_path);
+void usd_initialise_plugin_path(const char *datafiles_usd_path);
#endif
/* written to by 'creator_args.c' */
@@ -443,7 +443,7 @@ int main(int argc,
#ifdef WITH_USD
/* 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_init_plugin_path(BKE_appdir_folder_id(BLENDER_DATAFILES, "usd"));
+ usd_initialise_plugin_path(BKE_appdir_folder_id(BLENDER_DATAFILES, "usd"));
#endif
if (G.background == 0) {