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
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/BKE_lib_id.h2
-rw-r--r--source/blender/blenkernel/BKE_lib_override.h2
-rw-r--r--source/blender/blenkernel/intern/anim.c2
-rw-r--r--source/blender/blenkernel/intern/lib_query.c4
-rw-r--r--source/blender/blenlib/intern/delaunay_2d.c12
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c4
-rw-r--r--source/blender/makesdna/DNA_scene_types.h3
7 files changed, 14 insertions, 15 deletions
diff --git a/source/blender/blenkernel/BKE_lib_id.h b/source/blender/blenkernel/BKE_lib_id.h
index 7d00e98f239..a911cd68e1e 100644
--- a/source/blender/blenkernel/BKE_lib_id.h
+++ b/source/blender/blenkernel/BKE_lib_id.h
@@ -22,7 +22,7 @@
/** \file
* \ingroup bke
*
- * API to manage data-blocks inside of Blender's Main data-base, or as independant runtime-only
+ * API to manage data-blocks inside of Blender's Main data-base, or as independent runtime-only
* data.
*
* \note `BKE_lib_` files are for operations over data-blocks themselves, although they might
diff --git a/source/blender/blenkernel/BKE_lib_override.h b/source/blender/blenkernel/BKE_lib_override.h
index 29b19af7abf..99f5fc48966 100644
--- a/source/blender/blenkernel/BKE_lib_override.h
+++ b/source/blender/blenkernel/BKE_lib_override.h
@@ -23,7 +23,7 @@
/** \file
* \ingroup bke
*
- * API to manage data-blocks inside of Blender's Main data-base, or as independant runtime-only
+ * API to manage data-blocks inside of Blender's Main data-base, or as independent runtime-only
* data.
*
* \note `BKE_lib_` files are for operations over data-blocks themselves, although they might
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c
index 2ebb08450ad..6b8f8e5303e 100644
--- a/source/blender/blenkernel/intern/anim.c
+++ b/source/blender/blenkernel/intern/anim.c
@@ -476,7 +476,7 @@ int where_on_path(Object *ob,
/* NOTE: commented out for follow constraint
*
- * If it's ever be uncommentet watch out for curve_deform_verts()
+ * If it's ever be uncommented watch out for curve_deform_verts()
* which used to temporary set CU_FOLLOW flag for the curve and no
* longer does it (because of threading issues of such a thing.
*/
diff --git a/source/blender/blenkernel/intern/lib_query.c b/source/blender/blenkernel/intern/lib_query.c
index 4b4d744c41a..0f782717f79 100644
--- a/source/blender/blenkernel/intern/lib_query.c
+++ b/source/blender/blenkernel/intern/lib_query.c
@@ -448,7 +448,7 @@ static void library_foreach_ID_link(Main *bmain,
if (inherit_data == NULL) {
data.cb_flag = ID_IS_LINKED(id) ? IDWALK_CB_INDIRECT_USAGE : 0;
/* When an ID is not in Main database, it should never refcount IDs it is using.
- * Exceptions: NodeTrees (yeeahhh!) directly used by Materials. */
+ * Exceptions: NodeTrees (yeah!) directly used by Materials. */
data.cb_flag_clear = (id->tag & LIB_TAG_NO_MAIN) ? IDWALK_CB_USER | IDWALK_CB_USER_ONE : 0;
}
else {
@@ -469,7 +469,7 @@ static void library_foreach_ID_link(Main *bmain,
continue;
}
- /* Note: ID.lib pointer is purposedly fully ignored here...
+ /* Note: ID.lib pointer is purposefully fully ignored here...
* We may want to add it at some point? */
if (id->override_library != NULL) {
diff --git a/source/blender/blenlib/intern/delaunay_2d.c b/source/blender/blenlib/intern/delaunay_2d.c
index 8fa429fc0c3..0a2addff6d1 100644
--- a/source/blender/blenlib/intern/delaunay_2d.c
+++ b/source/blender/blenlib/intern/delaunay_2d.c
@@ -137,9 +137,11 @@ BLI_INLINE SymEdge *prev(const SymEdge *se)
return se->rot->next->rot;
}
-/** Return true if a -- b -- c are in that order, assuming they are on a straight line according to
- * orient2d and we know the order is either abc or bac.
- * This means ab . ac and bc . ac must both be non-negative. */
+/**
+ * Return true if a -- b -- c are in that order, assuming they are on a straight line according to
+ * orient2d and we know the order is either `abc` or `bac`.
+ * This means `ab . ac` and `bc . ac` must both be non-negative.
+ */
static bool in_line(const double a[2], const double b[2], const double c[2])
{
double ab[2], bc[2], ac[2];
@@ -3463,8 +3465,8 @@ static double isperrboundA, isperrboundB, isperrboundC;
* floating-point arithmetic. `epsilon' bounds the relative roundoff
* error. It is used for floating-point error analysis.
*
- * `splitter' is used to split floating-point numbers into two half-
- * length significands for exact multiplication.
+ * `splitter' is used to split floating-point numbers into two
+ * half-length significances for exact multiplication.
*
* I imagine that a highly optimizing compiler might be too smart for its
* own good, and somehow cause this routine to fail, if it pretends that
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index e2def28137f..880ad147403 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -2050,8 +2050,8 @@ bool sculpt_search_circle_cb(PBVHNode *node, void *data_v)
const float dist_sq = dist_squared_ray_to_aabb_v3(
data->dist_ray_to_aabb_precalc, bb_min, bb_max, dummy_co, &dummy_depth);
- /* Seems like debug code. Maybe this fucntion can just return true if the node is not fully
- * masked. */
+ /* Seems like debug code.
+ * Maybe this function can just return true if the node is not fully masked. */
return dist_sq < data->radius_squared || true;
}
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index ca973bf6120..13bbd9319a0 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -655,9 +655,6 @@ typedef struct RenderData {
short subimtype DNA_DEPRECATED;
short quality DNA_DEPRECATED;
- /**
- * Render to image editor, fullscreen or to new window.
- */
char use_lock_interface;
char _pad7[3];