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>2021-08-04 03:03:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-04 03:03:07 +0300
commit0d2589d08c615d1bc07e5156b41b9ffda6c3ba27 (patch)
treebfe3c62930cf43bfd6fb7f3b2f35e7ca62ed9fb5 /source/blender/io/usd/intern/usd_capi_import.cc
parentfb87d236edb7e98c5fc526b9829e6bc6b8916828 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/io/usd/intern/usd_capi_import.cc')
-rw-r--r--source/blender/io/usd/intern/usd_capi_import.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/io/usd/intern/usd_capi_import.cc b/source/blender/io/usd/intern/usd_capi_import.cc
index 8255fca284c..789ff20ba82 100644
--- a/source/blender/io/usd/intern/usd_capi_import.cc
+++ b/source/blender/io/usd/intern/usd_capi_import.cc
@@ -365,8 +365,7 @@ bool USD_import(struct bContext *C,
{
blender::io::usd::ensure_usd_plugin_path_registered();
- /* Using new here since MEM_* funcs do not call ctor to properly initialize
- * data. */
+ /* Using new here since `MEM_*` functions do not call constructor to properly initialize data. */
ImportJobData *job = new ImportJobData();
job->bmain = CTX_data_main(C);
job->scene = CTX_data_scene(C);
@@ -496,7 +495,7 @@ CacheReader *CacheReader_open_usd_object(CacheArchiveHandle *handle,
USDPrimReader *usd_reader = archive->create_reader(prim);
if (usd_reader == nullptr) {
- /* This object is not supported */
+ /* This object is not supported. */
return nullptr;
}
usd_reader->object(object);