Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYimingWu <xp8110@outlook.com>2021-07-27 09:02:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-27 11:06:29 +0300
commitb331acf477125121b109e743c00fd214f7aaf6a1 (patch)
tree531b0bffd1323250912c155ae51e6322f7a840f1 /source/blender/editors
parent675d8a9c4331b512745a69f3ec1eff98400291a7 (diff)
Cleanup: comment spelling & punctuation
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/animation/anim_channels_edit.c2
-rw-r--r--source/blender/editors/armature/armature_utils.c2
-rw-r--r--source/blender/editors/gpencil/gpencil_armature.c2
-rw-r--r--source/blender/editors/include/ED_anim_api.h2
-rw-r--r--source/blender/editors/space_node/drawnode.cc2
5 files changed, 5 insertions, 5 deletions
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])
{