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>2021-03-22 06:44:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-22 06:48:36 +0300
commitcb521bd37b26d069cfefec9683312e27c4caae90 (patch)
tree61980445582a9201b587ee33bbecea0256aedbf3
parentf051146ae64550b65a37bc1cb6f9c60583fa0123 (diff)
Cleanup: spelling, expand on comments
-rw-r--r--source/blender/blenkernel/intern/lib_override.c2
-rw-r--r--source/blender/blenlib/BLI_virtual_array.hh2
-rw-r--r--source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h8
3 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/lib_override.c b/source/blender/blenkernel/intern/lib_override.c
index 48a5d47fff6..f8b6abac06e 100644
--- a/source/blender/blenkernel/intern/lib_override.c
+++ b/source/blender/blenkernel/intern/lib_override.c
@@ -1115,7 +1115,7 @@ bool BKE_lib_override_library_resync(Main *bmain,
void BKE_lib_override_library_main_resync(Main *bmain, Scene *scene, ViewLayer *view_layer)
{
/* We use a specific collection to gather/store all 'orphaned' override collections and objects
- * generated by resyncprocess. This avoids putting them in scene's master collection. */
+ * generated by re-sync-process. This avoids putting them in scene's master collection. */
#define OVERRIDE_RESYNC_RESIDUAL_STORAGE_NAME "OVERRIDE_RESYNC_LEFTOVERS"
Collection *override_resync_residual_storage = BLI_findstring(
&bmain->collections, OVERRIDE_RESYNC_RESIDUAL_STORAGE_NAME, offsetof(ID, name) + 2);
diff --git a/source/blender/blenlib/BLI_virtual_array.hh b/source/blender/blenlib/BLI_virtual_array.hh
index 51d2e820504..2f23dbac32f 100644
--- a/source/blender/blenlib/BLI_virtual_array.hh
+++ b/source/blender/blenlib/BLI_virtual_array.hh
@@ -21,7 +21,7 @@
*
* A virtual array is a data structure that behaves similar to an array, but its elements are
* accessed through virtual methods. This improves the decoupling of a function from its callers,
- * because it does not have to know exactly how the data is layed out in memory, or if it is stored
+ * because it does not have to know exactly how the data is laid out in memory, or if it is stored
* in memory at all. It could just as well be computed on the fly.
*
* Taking a virtual array as parameter instead of a more specific non-virtual type has some
diff --git a/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h b/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
index 148bbc2c146..1239deb95bb 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
+++ b/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
@@ -154,7 +154,9 @@ typedef struct LineartEdge {
unsigned char flags;
/**
- * Still need this entry because culled lines will not add to object reln node,
+ * Still need this entry because culled lines will not add to object
+ * #LineartElementLinkNode node (known as `reln` internally).
+ *
* TODO: If really need more savings, we can allocate this in a "extended" way too, but we need
* another bit in flags to be able to show the difference.
*/
@@ -168,7 +170,7 @@ typedef struct LineartLineChain {
/** Calculated before draw command. */
float length;
- /** Used when re-connecting and gp stroke generation. */
+ /** Used when re-connecting and grease-pencil stroke generation. */
char picked;
char level;
@@ -238,7 +240,7 @@ typedef struct LineartRenderBuffer {
unsigned int contour_count;
unsigned int contour_processed;
LineartEdge *contour_managed;
- /* Now changed to linknodes. */
+ /** A single linked list (cast to #LinkNode). */
LineartEdge *contours;
unsigned int intersection_count;