diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-14 02:47:50 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-14 03:23:46 +0300 |
commit | cea588b9ef8f9bdb2729fb233d6f1ed0886700e1 (patch) | |
tree | fa0bfce1f026a4af40aaf72eecd6fde101d8b938 /source/blender/blenkernel | |
parent | 7a0cf2c72f58be31824f5c3b17844ba54797b594 (diff) |
Cleanup: spelling in comments, C++ style comments for disabled code
Also ensure space at end of comment.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_asset_catalog.hh | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/BKE_lib_override.h | 6 | ||||
-rw-r--r-- | source/blender/blenkernel/BKE_mesh.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/asset_catalog_test.cc | 2 |
4 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_asset_catalog.hh b/source/blender/blenkernel/BKE_asset_catalog.hh index ecc839050b7..004b70c2925 100644 --- a/source/blender/blenkernel/BKE_asset_catalog.hh +++ b/source/blender/blenkernel/BKE_asset_catalog.hh @@ -141,7 +141,7 @@ class AssetCatalogService { AssetCatalogFilter create_catalog_filter(CatalogID active_catalog_id) const; /** Create a catalog with some sensible auto-generated catalog ID. - * The catalog will be saved to the default catalog file.*/ + * The catalog will be saved to the default catalog file. */ AssetCatalog *create_catalog(const AssetCatalogPath &catalog_path); /** diff --git a/source/blender/blenkernel/BKE_lib_override.h b/source/blender/blenkernel/BKE_lib_override.h index 16156824f8e..30e75259967 100644 --- a/source/blender/blenkernel/BKE_lib_override.h +++ b/source/blender/blenkernel/BKE_lib_override.h @@ -306,7 +306,8 @@ void BKE_lib_override_library_main_validate(struct Main *bmain, struct ReportLis * This is typically used to detect whether some property has been changed in local and a new * #IDOverrideProperty (of #IDOverridePropertyOperation) has to be added. * - * \return true if status is OK, false otherwise. */ + * \return true if status is OK, false otherwise. + */ bool BKE_lib_override_library_status_check_local(struct Main *bmain, struct ID *local); /** * Check that status of reference data-block is still valid against current local one. @@ -317,7 +318,8 @@ bool BKE_lib_override_library_status_check_local(struct Main *bmain, struct ID * * This is typically used to detect whether some reference has changed and local * needs to be updated against it. * - * \return true if status is OK, false otherwise. */ + * \return true if status is OK, false otherwise. + */ bool BKE_lib_override_library_status_check_reference(struct Main *bmain, struct ID *local); /** diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h index a9a78bbc12e..e7382ce448a 100644 --- a/source/blender/blenkernel/BKE_mesh.h +++ b/source/blender/blenkernel/BKE_mesh.h @@ -461,7 +461,7 @@ void BKE_mesh_calc_normals_poly(const struct MVert *mvert, /** * Calculate vertex and face normals, storing the result in custom data layers on the mesh. * - * \note It is usually preferrable to calculate normals lazily with + * \note It is usually preferable to calculate normals lazily with * #BKE_mesh_vertex_normals_ensure, but some areas (perhaps unnecessarily) * can also calculate them eagerly. */ diff --git a/source/blender/blenkernel/intern/asset_catalog_test.cc b/source/blender/blenkernel/intern/asset_catalog_test.cc index 3ff7831b19a..8c39bfc9770 100644 --- a/source/blender/blenkernel/intern/asset_catalog_test.cc +++ b/source/blender/blenkernel/intern/asset_catalog_test.cc @@ -239,7 +239,7 @@ class AssetCatalogTest : public testing::Test { } /* Create an empty CDF to add complexity. It should not save to this, but to the top-level - * one.*/ + * one. */ ASSERT_TRUE(BLI_file_touch(cdf_in_subdir.c_str())); ASSERT_EQ(0, BLI_file_size(cdf_in_subdir.c_str())); |