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 <campbell@blender.org>2022-02-16 05:02:53 +0300
committerCampbell Barton <campbell@blender.org>2022-02-16 05:04:20 +0300
commit81223ae164cf8b72743ffec2471f621509e913dc (patch)
treee09ac93321ea734bf487168ca3512411b9808d18 /source/blender/blenkernel/intern/gpencil_update_cache.c
parent37821143dda42acb5e37e3e62a17b0da805d9abd (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/blenkernel/intern/gpencil_update_cache.c')
-rw-r--r--source/blender/blenkernel/intern/gpencil_update_cache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/gpencil_update_cache.c b/source/blender/blenkernel/intern/gpencil_update_cache.c
index 2258f8c353f..bbe576eb847 100644
--- a/source/blender/blenkernel/intern/gpencil_update_cache.c
+++ b/source/blender/blenkernel/intern/gpencil_update_cache.c
@@ -99,7 +99,7 @@ static void update_cache_node_create_ex(GPencilUpdateCache *root_cache,
bool full_copy)
{
if (root_cache->flag == GP_UPDATE_NODE_FULL_COPY) {
- /* Entire data-block has to be recaculated, e.g. nothing else needs to be added to the cache.
+ /* Entire data-block has to be recalculated, e.g. nothing else needs to be added to the cache.
*/
return;
}
@@ -110,14 +110,14 @@ static void update_cache_node_create_ex(GPencilUpdateCache *root_cache,
root_cache->data = (bGPdata *)data;
root_cache->flag = node_flag;
if (full_copy) {
- /* Entire data-block has to be recaculated, remove all caches of "lower" elements. */
+ /* Entire data-block has to be recalculated, remove all caches of "lower" elements. */
BLI_dlrbTree_free(root_cache->children, cache_node_free);
}
return;
}
const bool is_layer_update_node = (gpf_index == -1);
- /* If the data pointer in GPencilUpdateCache is NULL, this element is not actually cached
+ /* If the data pointer in #GPencilUpdateCache is NULL, this element is not actually cached
* and does not need to be updated, but we do need the index to find elements that are in
* levels below. E.g. if a stroke needs to be updated, the frame it is in would not hold a
* pointer to it's data. */
@@ -174,7 +174,7 @@ static void update_cache_node_create(
}
if (root_cache->flag == GP_UPDATE_NODE_FULL_COPY) {
- /* Entire data-block has to be recaculated, e.g. nothing else needs to be added to the cache.
+ /* Entire data-block has to be recalculated, e.g. nothing else needs to be added to the cache.
*/
return;
}