Cleanup: spelling in comments

This commit is contained in:
Campbell Barton
2024-03-07 13:28:57 +11:00
parent f927eef166
commit 2d3a1aa238
4 changed files with 9 additions and 7 deletions
+3 -3
View File
@@ -88,11 +88,11 @@ void BKE_animdata_foreach_id(AnimData *adt, LibraryForeachIDData *data);
/**
* Make a copy of the given AnimData - to be used when copying data-blocks.
*
* \note: Regarding handling of IDs managed by the #AnimData struct, this function follows the
* behaviors of the generic #BKE_id_copy_ex, please see its documetation for more details.
* \note Regarding handling of IDs managed by the #AnimData struct, this function follows the
* behaviors of the generic #BKE_id_copy_ex, please see its documentation for more details.
*
* \param flag: Control ID pointers management, see LIB_ID_CREATE_.../LIB_ID_COPY_... flags in
* #BKE_lib_id.hh
* `BKE_lib_id.hh`.
*
* \return The copied animdata.
*/
+1 -1
View File
@@ -128,7 +128,7 @@ void BKE_lib_libblock_session_uid_renew(ID *id);
*/
void *BKE_id_new(Main *bmain, short type, const char *name);
/**
* Same as for #BKE_id_new, but allows creating a data-block for (whithin) a given owner library.
* Same as for #BKE_id_new, but allows creating a data-block for (within) a given owner library.
*
* \param owner_library the Library to 'assign' the newly created ID to. Use `nullptr` to make ID
* not use any library (i.e. become a local ID). Use `std::nullopt` for default behavior (i.e.
@@ -395,8 +395,10 @@ class ShadowPunctual : public NonCopyable, NonMovable {
int tilemaps_needed_;
/** Scaling factor to the light shape for shadow ray casting. */
float softness_factor_;
/** radius * softness_factor (Bypasses LightModule radius modifications to avoid unnecesary
* padding in the shadow projection). */
/**
* `radius * softness_factor` (Bypasses LightModule radius modifications
* to avoid unnecessary padding in the shadow projection).
*/
float shadow_radius_;
public:
+1 -1
View File
@@ -326,7 +326,7 @@ bool RNA_property_anim_editable(const PointerRNA *ptr, PropertyRNA *prop);
bool RNA_property_animated(PointerRNA *ptr, PropertyRNA *prop);
/**
* With LibOverrides, a property may be animatable and anim-editable, but not driver-editable (in
* case the reference data already has an animation data, its Action can ba an editable local ID,
* case the reference data already has an animation data, its Action can be an editable local ID,
* but the drivers are directly stored in the animdata, overriding these is not supported
* currently).
*