[Bf-blender-cvs] [cb521bd37b2] master: Cleanup: spelling, expand on comments
Campbell Barton
noreply at git.blender.org
Mon Mar 22 04:49:00 CET 2021
Commit: cb521bd37b26d069cfefec9683312e27c4caae90
Author: Campbell Barton
Date: Mon Mar 22 14:44:05 2021 +1100
Branches: master
https://developer.blender.org/rBcb521bd37b26d069cfefec9683312e27c4caae90
Cleanup: spelling, expand on comments
===================================================================
M source/blender/blenkernel/intern/lib_override.c
M source/blender/blenlib/BLI_virtual_array.hh
M source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
===================================================================
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;
More information about the Bf-blender-cvs
mailing list