Cleanup: spelling

This commit is contained in:
Campbell Barton 2020-07-18 14:27:53 +10:00
parent fd08d6f391
commit 016253a648
4 changed files with 8 additions and 8 deletions

View File

@ -938,7 +938,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
fp = setmntent(MOUNTED, "r");
if (fp == NULL) {
fprintf(stderr, "could not get a list of mounted filesystems\n");
fprintf(stderr, "could not get a list of mounted file-systems\n");
}
else {
while ((mnt = getmntent(fp))) {

View File

@ -742,8 +742,8 @@ int GPU_matrix_stack_level_get_projection(void)
/* -------------------------------------------------------------------- */
/** \name Polygon Offset Hack
*
* Workaround the fact that PolygonOffset is implementation dependant.
* We modify the projection matrix (winmat) in order to change the final depth a tiny amount.
* Workaround the fact that polygon-offset is implementation dependent.
* We modify the projection matrix \a winmat in order to change the final depth a tiny amount.
* \{ */
float GPU_polygon_offset_calc(const float (*winmat)[4], float viewdist, float dist)

View File

@ -236,7 +236,7 @@ Alembic::AbcGeom::IXform AbcObjectReader::xform()
* parent Alembic object should contain the transform. */
IObject abc_parent = m_iobject.getParent();
/* The archive's top object can be recognised by not having a parent. */
/* The archive's top object can be recognized by not having a parent. */
if (abc_parent.getParent() && IXform::matches(abc_parent.getMetaData())) {
try {
return IXform(abc_parent, Alembic::AbcGeom::kWrapExisting);

View File

@ -49,15 +49,15 @@ TEST_F(USDStageCreationTest, JSONFileLoadingTest)
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 recognised by the USD library, and that a USD plugin has been loaded to write such
* has been recognized by the USD library, and that a USD plugin has been loaded to write such
* files. Practically, this is a test to see whether the USD JSON files can be found and
* loaded. */
std::string filename = "usd-stage-creation-test.usdc";
pxr::UsdStageRefPtr usd_stage = pxr::UsdStage::CreateNew(filename);
if (usd_stage != nullptr) {
/* Even though we don't call usd_stage->SaveFile(), a file is still created on the filesystem
* when we call CreateNew(). It's immediately closed, though, so we can safely call unlink()
* here. */
/* Even though we don't call `usd_stage->SaveFile()`, a file is still created on the
* file-system when we call CreateNew(). It's immediately closed, though,
* so we can safely call `unlink()` here. */
unlink(filename.c_str());
}
else {