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:
authorCampbell Barton <ideasman42@gmail.com>2020-07-21 08:58:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-07-21 09:02:58 +0300
commitc46663ad66c6e378214f34db483ac67bb4c27272 (patch)
tree627d9d5732f3d4f5a113c5de3d12cde137fff4b3 /source/blender/editors
parentb31d3d1202fed37caed333b829bb53d88fe97c9e (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/animation/fmodifier_ui.c3
-rw-r--r--source/blender/editors/interface/interface_handlers.c8
-rw-r--r--source/blender/editors/space_node/node_view.c2
-rw-r--r--source/blender/editors/transform/transform_convert_mesh_uv.c8
4 files changed, 10 insertions, 11 deletions
diff --git a/source/blender/editors/animation/fmodifier_ui.c b/source/blender/editors/animation/fmodifier_ui.c
index eadaa449b92..1ecdf5accb8 100644
--- a/source/blender/editors/animation/fmodifier_ui.c
+++ b/source/blender/editors/animation/fmodifier_ui.c
@@ -515,8 +515,7 @@ static void draw_modifier__cycles(uiLayout *layout,
RNA_pointer_create(fcurve_owner_id, &RNA_FModifierCycles, fcm, &ptr);
/* split into 2 columns
- * NOTE: the mode comboboxes shouldn't get labels, otherwise there isn't enough room
- */
+ * NOTE: the mode combination-boxes shouldn't get labels, otherwise there isn't enough room. */
split = uiLayoutSplit(layout, 0.5f, false);
/* before range */
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index 988d19e30d3..88ad5d8fec1 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -1753,21 +1753,21 @@ static void ui_selectcontext_apply(bContext *C,
RNA_property_int_range(&but->rnapoin, prop, &min.i, &max.i);
}
else if (rna_type == PROP_ENUM) {
- /* not a delta infact */
+ /* Not a delta in fact. */
delta.i = RNA_property_enum_get(&but->rnapoin, prop);
}
else if (rna_type == PROP_BOOLEAN) {
if (is_array) {
- /* not a delta infact */
+ /* Not a delta in fact. */
delta.b = RNA_property_boolean_get_index(&but->rnapoin, prop, index);
}
else {
- /* not a delta infact */
+ /* Not a delta in fact. */
delta.b = RNA_property_boolean_get(&but->rnapoin, prop);
}
}
else if (rna_type == PROP_POINTER) {
- /* not a delta infact */
+ /* Not a delta in fact. */
delta.p = RNA_property_pointer_get(&but->rnapoin, prop);
}
diff --git a/source/blender/editors/space_node/node_view.c b/source/blender/editors/space_node/node_view.c
index b376c6b29cf..ce66740dc60 100644
--- a/source/blender/editors/space_node/node_view.c
+++ b/source/blender/editors/space_node/node_view.c
@@ -456,7 +456,7 @@ bool ED_space_node_color_sample(
if (ibuf->rect_float) {
fp = (ibuf->rect_float + (ibuf->channels) * (y * ibuf->x + x));
- /* IB_PROFILE_NONE is default but infact its linear */
+ /* #IB_PROFILE_NONE is default but in fact its linear. */
copy_v3_v3(r_col, fp);
ret = true;
}
diff --git a/source/blender/editors/transform/transform_convert_mesh_uv.c b/source/blender/editors/transform/transform_convert_mesh_uv.c
index f3e7446b2c4..632769c167e 100644
--- a/source/blender/editors/transform/transform_convert_mesh_uv.c
+++ b/source/blender/editors/transform/transform_convert_mesh_uv.c
@@ -92,7 +92,7 @@ static void UVsToTransData(const float aspect[2],
*/
static void uv_set_connectivity_distance(BMesh *bm, float *dists, const float aspect[2])
{
- /* Mostly copied from editmesh_set_connectivity_distance. */
+ /* Mostly copied from #editmesh_set_connectivity_distance. */
BLI_LINKSTACK_DECLARE(queue, BMLoop *);
/* Any BM_ELEM_TAG'd loop is added to 'queue_next', this makes sure that we don't add things
@@ -110,7 +110,7 @@ static void uv_set_connectivity_distance(BMesh *bm, float *dists, const float as
BM_mesh_elem_index_ensure(bm, BM_LOOP);
BM_ITER_MESH (f, &fiter, bm, BM_FACES_OF_MESH) {
- /* Visable faces was tagged in createTransUVs. */
+ /* Visible faces was tagged in #createTransUVs. */
if (!BM_elem_flag_test(f, BM_ELEM_TAG)) {
continue;
}
@@ -186,7 +186,7 @@ static void uv_set_connectivity_distance(BMesh *bm, float *dists, const float as
if (l_connected == l_other) {
continue;
}
- /* Visable faces was tagged in createTransUVs. */
+ /* Visible faces was tagged in #createTransUVs. */
if (!BM_elem_flag_test(l_connected->f, BM_ELEM_TAG)) {
continue;
}
@@ -233,7 +233,7 @@ static void uv_set_connectivity_distance(BMesh *bm, float *dists, const float as
#ifndef NDEBUG
/* Check that we didn't leave any loops tagged */
BM_ITER_MESH (f, &fiter, bm, BM_FACES_OF_MESH) {
- /* Visable faces was tagged in createTransUVs. */
+ /* Visible faces was tagged in #createTransUVs. */
if (!BM_elem_flag_test(f, BM_ELEM_TAG)) {
continue;
}