diff options
-rw-r--r-- | source/blender/blenkernel/intern/spline_base.cc | 2 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_query.cc | 2 | ||||
-rw-r--r-- | source/blender/editors/gpencil/gpencil_edit.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/outliner_edit.c | 10 | ||||
-rw-r--r-- | source/creator/creator.c | 4 |
6 files changed, 13 insertions, 9 deletions
diff --git a/source/blender/blenkernel/intern/spline_base.cc b/source/blender/blenkernel/intern/spline_base.cc index 9f8c215b31f..2781ff1e49a 100644 --- a/source/blender/blenkernel/intern/spline_base.cc +++ b/source/blender/blenkernel/intern/spline_base.cc @@ -355,7 +355,7 @@ GVArrayPtr Spline::interpolate_to_evaluated_points(GSpan data) const /** * Sample any input data with a value for each evaluated point (already interpolated to evaluated - * points) to arbitrary parameters in betwen the evaluated points. The interpolation is quite + * points) to arbitrary parameters in between the evaluated points. The interpolation is quite * simple, but this handles the cyclic and end point special cases. */ void Spline::sample_based_on_index_factors(const GVArray &src, diff --git a/source/blender/depsgraph/intern/depsgraph_query.cc b/source/blender/depsgraph/intern/depsgraph_query.cc index 57de62e1880..aab4c3ca0f6 100644 --- a/source/blender/depsgraph/intern/depsgraph_query.cc +++ b/source/blender/depsgraph/intern/depsgraph_query.cc @@ -168,7 +168,7 @@ ViewLayer *DEG_get_evaluated_view_layer(const Depsgraph *graph) const deg::Depsgraph *deg_graph = reinterpret_cast<const deg::Depsgraph *>(graph); Scene *scene_cow = DEG_get_evaluated_scene(graph); if (scene_cow == nullptr) { - return nullptr; /* Happens with new, not-yet-built/evaluated graphes. */ + return nullptr; /* Happens with new, not-yet-built/evaluated graphs. */ } /* Do name-based lookup. */ /* TODO(sergey): Can this be optimized? */ diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index 8370bf6593e..f29f5187015 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -2779,7 +2779,7 @@ void GPENCIL_OT_dissolve(wmOperatorType *ot) /* Poll callback for snap operators */ /* NOTE: For now, we only allow these in the 3D view, as other editors do not - * define a cursor or gridstep which can be used + * define a cursor or grid-step which can be used. */ static bool gpencil_snap_poll(bContext *C) { diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index f03eeeb3c75..41db79bc134 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -300,7 +300,7 @@ typedef struct ProjPaintState { /** Calculated from screenMin & screenMax. */ float screen_width; float screen_height; - /** from the carea or from the projection render. */ + /** From the area or from the projection render. */ int winx, winy; /* options for projection painting */ diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c index 0c97fdc1c18..4a070590d55 100644 --- a/source/blender/editors/space_outliner/outliner_edit.c +++ b/source/blender/editors/space_outliner/outliner_edit.c @@ -154,7 +154,9 @@ void OUTLINER_OT_highlight_update(wmOperatorType *ot) /** \name Toggle Open/Closed Operator * \{ */ -/* Open or close a tree element, optionally toggling all children recursively */ +/** + * Open or close a tree element, optionally toggling all children recursively. + */ void outliner_item_openclose(SpaceOutliner *space_outliner, TreeElement *te, bool open, @@ -1599,8 +1601,10 @@ void OUTLINER_OT_show_one_level(wmOperatorType *ot) /** \name Show Hierarchy Operator * \{ */ -/* Helper function for tree_element_shwo_hierarchy() - - * recursively checks whether subtrees have any objects. */ +/** + * Helper function for #tree_element_shwo_hierarchy() - + * recursively checks whether subtrees have any objects. + */ static int subtree_has_objects(ListBase *lb) { LISTBASE_FOREACH (TreeElement *, te, lb) { diff --git a/source/creator/creator.c b/source/creator/creator.c index 8fbbdb685d3..2ec4a2aa616 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -233,8 +233,8 @@ void gmp_free(void *ptr, size_t size) } /** * Use TBB's scalable_allocator on Windows. - * TBBmalloc correctly captures all allocations already, - * however, GMP is built with mingw since it doesn't build with msvc, + * `TBBmalloc` correctly captures all allocations already, + * however, GMP is built with MINGW since it doesn't build with MSVC, * which TBB has issues hooking into automatically. */ void gmp_blender_init_allocator() |