Cleanup: spelling
This commit is contained in:
parent
807efa8538
commit
4b12f521e3
|
@ -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)) {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue