[Bf-blender-cvs] [248585b3ccb] lanpr-under-gp: LANPR: Contour/Freestyle mark distinguish.
YimingWu
noreply at git.blender.org
Fri Jul 3 12:33:00 CEST 2020
Commit: 248585b3ccb6516f89ae86d0decd2f41d098640e
Author: YimingWu
Date: Fri Jul 3 18:32:52 2020 +0800
Branches: lanpr-under-gp
https://developer.blender.org/rB248585b3ccb6516f89ae86d0decd2f41d098640e
LANPR: Contour/Freestyle mark distinguish.
===================================================================
M source/blender/editors/lineart/lineart_cpu.c
===================================================================
diff --git a/source/blender/editors/lineart/lineart_cpu.c b/source/blender/editors/lineart/lineart_cpu.c
index 5fc1b3e52c1..77a9596e974 100644
--- a/source/blender/editors/lineart/lineart_cpu.c
+++ b/source/blender/editors/lineart/lineart_cpu.c
@@ -2487,7 +2487,7 @@ static void lineart_compute_scene_contours(LineartRenderBuffer *rb, const float
list_append_pointer_static(&rb->material_lines, &rb->render_data_pool, rl);
material_count++;
}
- if (rl->flags & LRT_EDGE_FLAG_EDGE_MARK) {
+ else if (rl->flags & LRT_EDGE_FLAG_EDGE_MARK) {
/* no need to mark again */
add = 4;
list_append_pointer_static(&rb->edge_marks, &rb->render_data_pool, rl);
More information about the Bf-blender-cvs
mailing list