Commit: 4b12f521e38fedf09485e0436e339031f363130a
Author: Campbell Barton
Date: Thu Dec 16 11:38:09 2021 +1100
Branches: master
https://developer.blender.org/rB4b12f521e38fedf09485e0436e339031f363130a
Cleanup: spelling
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
M source/blender/imbuf/IMB_imbuf.h
M source/blender/makesrna/intern/rna_texture_api.c
M source/blender/nodes/intern/socket_search_link.cc
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt.c
b/source/blender/editors/sculpt_paint/sculpt.c
index aeeed094aab..b764d0e1b5b 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -5773,7 +5773,7 @@ static void do_gravity(Sculpt *sd, Object *ob, PBVHNode
**nodes, int totnode, fl
/** \} */
/* -------------------------------------------------------------------- */
-/** \name Sculpt Prush Utilities
+/** \name Sculpt Brush Utilities
* \{ */
void SCULPT_vertcos_to_key(Object *ob, KeyBlock *kb, const float (*vertCos)[3])
@@ -5980,8 +5980,8 @@ static void do_brush_action(Sculpt *sd, Object *ob, Brush
*brush, UnifiedPaintSe
}
}
- /* Initialize automasking cache. For anchored brushes with spherical
falloff, we start off with
- * zero radius, thus we have no pbvh nodes on the first brush step. */
+ /* Initialize auto-masking cache. For anchored brushes with spherical
falloff,
+ * we start off with zero radius, thus we have no PBVH nodes on the first
brush step. */
if (totnode ||
((brush->falloff_shape == PAINT_FALLOFF_SHAPE_SPHERE) && (brush->flag &
BRUSH_ANCHORED))) {
if (SCULPT_stroke_is_first_brush_step(ss->cache)) {
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h
index ecc14e72108..1f698c65382 100644
--- a/source/blender/imbuf/IMB_imbuf.h
+++ b/source/blender/imbuf/IMB_imbuf.h
@@ -921,11 +921,11 @@ typedef enum eIMBTransformMode {
* The given matrix should transform between dst pixel space to src pixel
space.
* One unit is one pixel.
* \param src_crop cropping region how to crop the source buffer. Should only
be passed when mode
- * is set to IMB_TRANSFORM_MODE_CROP_SRC. For any other mode this should be
empty.
+ * is set to #IMB_TRANSFORM_MODE_CROP_SRC. For any other mode this should be
empty.
*
* During transformation no data/color conversion will happens.
* When transforming between float images the number of channels of the source
buffer may be
- * between 1 and 4. When source buffer has one channel the data will be read
as a grey scale value.
+ * between 1 and 4. When source buffer has one channel the data will be read
as a gray scale value.
*/
void IMB_transform(const struct ImBuf *src,
struct ImBuf *dst,
diff --git a/source/blender/makesrna/intern/rna_texture_api.c
b/source/blender/makesrna/intern/rna_texture_api.c
index 83c1efd55bc..0920fe6679a 100644
--- a/source/blender/makesrna/intern/rna_texture_api.c
+++ b/source/blender/makesrna/intern/rna_texture_api.c
@@ -84,8 +84,8 @@ void RNA_api_texture(StructRNA *srna)
NULL,
-FLT_MAX,
FLT_MAX,
- "The result of the texture where (x,y,z,w) are (red, green, blue,
intensity). For greyscale "
- "textures, often intensity only will be used",
+ "The result of the texture where (x,y,z,w) are (red, green, blue,
intensity). "
+ "For grayscale textures, often intensity only will be used",
NULL,
-1e4,
1e4);
diff --git a/source/blender/nodes/intern/socket_search_link.cc
b/source/blender/nodes/intern/socket_search_link.cc
index 48f8106e58b..8543efe7f9b 100644
--- a/source/blender/nodes/intern/socket_search_link.cc
+++ b/source/blender/nodes/intern/socket_search_link.cc
@@ -122,7 +122,7 @@ void
search_link_ops_for_declarations(GatherLinkSearchOpParams ¶ms,
/* Give non-main sockets a lower weight so that they don't show up at the
top of the search
* when they are not explicitly searched for. The -1 is used to make sure
that the first socket
* has a smaller weight than zero so that it does not have the same weight
as the main socket.
- * Negative weights are used to avoid making the heighest weight dependent
on the number of
+ * Negative weights are used to avoid making the highest weight dependent
on the number of
* sockets. */
const int weight = (&socket == main_socket) ? 0 : -1 - i;
params.add_item(
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs