Cleanup: spelling in comments

This commit is contained in:
Campbell Barton
2024-03-05 11:21:46 +11:00
parent 76867ad4c2
commit e011c1ab9b
4 changed files with 8 additions and 6 deletions
@@ -2666,7 +2666,7 @@ static bool lib_override_library_resync(Main *bmain,
return success;
}
/** Clenup: Remove unused 'place holder' linked IDs. */
/** Cleanup: Remove unused 'place holder' linked IDs. */
static void lib_override_cleanup_after_resync(Main *bmain)
{
LibQueryUnusedIDsData parameters;
@@ -4236,7 +4236,7 @@ void BKE_lib_override_library_validate(Main *bmain, ID *id, ReportList *reports)
liboverride = BKE_lib_override_library_get(bmain, id, nullptr, &liboverride_id);
if (!liboverride) {
/* Happens in case the given ID is a liboverride-embedded one (actual embedded ID like
* NodeTree or master collection, or shapekeys), used by a totally not-liboverride owner ID.
* NodeTree or master collection, or shape-keys), used by a totally not-liboverride owner ID.
* Just clear the relevant ID flag.
*/
id->flag &= ~LIB_EMBEDDED_DATA_LIB_OVERRIDE;
@@ -159,9 +159,9 @@ void select_frames_range(bke::greasepencil::TreeNode &node,
bool has_any_frame_selected(const bke::greasepencil::Layer &layer);
/**
* Check for an active keyframe at the current scene time. When there is not, create one when
* Autokey is on (taking Additive drawing setting into account).
* Returns false when no keyframe could be found or created.
* Check for an active keyframe at the current scene time. When there is not,
* create one when auto-key is on (taking additive drawing setting into account).
* \return false when no keyframe could be found or created.
*/
bool ensure_active_keyframe(const Scene &scene, GreasePencil &grease_pencil);
@@ -40,7 +40,7 @@
namespace blender::ed::space_node {
/* -------------------------------------------------------------------- */
/** \name Local Funcitons
/** \name Local Functions
* \{ */
static bool space_node_active_view_poll(bContext *C)
@@ -109,6 +109,8 @@ dict_custom = {
"deinitializes",
"deletable",
"deleter",
"demangle",
"demangled",
"denoised",
"denoiser",
"denoising",