From b331acf477125121b109e743c00fd214f7aaf6a1 Mon Sep 17 00:00:00 2001 From: YimingWu Date: Tue, 27 Jul 2021 14:02:22 +0800 Subject: Cleanup: comment spelling & punctuation --- source/blender/editors/animation/anim_channels_edit.c | 2 +- source/blender/editors/armature/armature_utils.c | 2 +- source/blender/editors/gpencil/gpencil_armature.c | 2 +- source/blender/editors/include/ED_anim_api.h | 2 +- source/blender/editors/space_node/drawnode.cc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c index 8f8c1c067d4..c6c7cc4adb0 100644 --- a/source/blender/editors/animation/anim_channels_edit.c +++ b/source/blender/editors/animation/anim_channels_edit.c @@ -2026,7 +2026,7 @@ static const EnumPropertyItem prop_animchannel_settings_types[] = { * \param mode: eAnimChannels_SetFlag. * \param onlysel: only selected channels get the flag set. * - * TODO: enable a setting which turns flushing on/off?. + * TODO: enable a setting which turns flushing on/off? */ static void setflag_anim_channels(bAnimContext *ac, eAnimChannel_Settings setting, diff --git a/source/blender/editors/armature/armature_utils.c b/source/blender/editors/armature/armature_utils.c index 874f1b49451..4fe4422e4e0 100644 --- a/source/blender/editors/armature/armature_utils.c +++ b/source/blender/editors/armature/armature_utils.c @@ -107,7 +107,7 @@ int bone_looper(Object *ob, Bone *bone, void *data, int (*bone_func)(Object *, B { /* We want to apply the function bone_func to every bone * in an armature -- feed bone_looper the first bone and - * a pointer to the bone_func and watch it go!. The int count + * a pointer to the bone_func and watch it go! The int count * can be useful for counting bones with a certain property * (e.g. skinnable) */ diff --git a/source/blender/editors/gpencil/gpencil_armature.c b/source/blender/editors/gpencil/gpencil_armature.c index c800851bb08..86ec6c53fe6 100644 --- a/source/blender/editors/gpencil/gpencil_armature.c +++ b/source/blender/editors/gpencil/gpencil_armature.c @@ -80,7 +80,7 @@ static int gpencil_bone_looper(Object *ob, { /* We want to apply the function bone_func to every bone * in an armature -- feed bone_looper the first bone and - * a pointer to the bone_func and watch it go!. The int count + * a pointer to the bone_func and watch it go! The int count * can be useful for counting bones with a certain property * (e.g. skinnable) */ diff --git a/source/blender/editors/include/ED_anim_api.h b/source/blender/editors/include/ED_anim_api.h index 50e53acb376..75c02082bd3 100644 --- a/source/blender/editors/include/ED_anim_api.h +++ b/source/blender/editors/include/ED_anim_api.h @@ -290,7 +290,7 @@ typedef enum eAnimFilter_Flags { * (i.e. scene visibility criteria). * * XXX: it's hard to think of any examples where this *ISN'T* the case... - * perhaps becomes implicit?. + * perhaps becomes implicit? */ ANIMFILTER_DATA_VISIBLE = (1 << 0), /** channel is visible within the channel-list hierarchy diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc index df3afb42ab2..95eb1ccc025 100644 --- a/source/blender/editors/space_node/drawnode.cc +++ b/source/blender/editors/space_node/drawnode.cc @@ -165,7 +165,7 @@ static void node_buts_curvevec(uiLayout *layout, bContext *UNUSED(C), PointerRNA } #define SAMPLE_FLT_ISNONE FLT_MAX -/* bad bad, 2.5 will do better?... no it won't... */ +/* Bad bad, 2.5 will do better? ... no it won't! */ static float _sample_col[4] = {SAMPLE_FLT_ISNONE}; void ED_node_sample_set(const float col[4]) { -- cgit v1.2.3