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:
authorYimingWu <xp8110@outlook.com>2021-03-17 10:04:51 +0300
committerSebastian Parborg <darkdefende@gmail.com>2021-03-17 17:23:20 +0300
commit7f769567d085ef5c13d99a34bb7af7a7b147f523 (patch)
tree5467e0ac572576c138ccfde7844fcc12cf6f2522 /source/blender/gpencil_modifiers/intern/lineart/lineart_util.c
parent0f1482279c6dd39992470ff5d09cc3615c344b34 (diff)
LineArt: Remove "Render" in structure names.
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/lineart/lineart_util.c')
-rw-r--r--source/blender/gpencil_modifiers/intern/lineart/lineart_util.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_util.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_util.c
index 0d145042e08..8e8c39391c3 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/lineart_util.c
+++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_util.c
@@ -130,9 +130,9 @@ void lineart_mem_destroy(LineartStaticMemPool *smp)
}
}
-void lineart_prepend_line_direct(LineartRenderLine **first, void *node)
+void lineart_prepend_line_direct(LineartLine **first, void *node)
{
- LineartRenderLine *ln = (LineartRenderLine *)node;
+ LineartLine *ln = (LineartLine *)node;
ln->next = (*first);
(*first) = ln;
}
@@ -213,16 +213,16 @@ void lineart_count_and_print_render_buffer_memory(LineartRenderBuffer *rb)
sum_this = 0;
count_this = 0;
- LISTBASE_FOREACH (LineartRenderElementLinkNode *, reln, &rb->line_buffer_pointers) {
+ LISTBASE_FOREACH (LineartElementLinkNode *, reln, &rb->line_buffer_pointers) {
count_this++;
- sum_this += reln->element_count * sizeof(LineartRenderLine);
+ sum_this += reln->element_count * sizeof(LineartLine);
}
printf(" allocated %lu edge blocks, total %lu Bytes.\n", count_this, sum_this);
total += sum_this;
sum_this = 0;
count_this = 0;
- LISTBASE_FOREACH (LineartRenderElementLinkNode *, reln, &rb->triangle_buffer_pointers) {
+ LISTBASE_FOREACH (LineartElementLinkNode *, reln, &rb->triangle_buffer_pointers) {
count_this++;
sum_this += reln->element_count * rb->triangle_size;
}