LineArt: Fix edge clipping index error.
Small bug that's causing edge count to be incorrect in final culled list, just being offset exactly 1 entry. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D11513
This commit is contained in:
parent
d354e6a846
commit
5730112174
Notes:
blender-bot
2023-02-14 08:25:14 +01:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
|
@ -748,10 +748,10 @@ static void lineart_triangle_cull_single(LineartRenderBuffer *rb,
|
|||
e = new_e;
|
||||
|
||||
#define INCREASE_RL \
|
||||
e_count++; \
|
||||
v1_obi = e->v1_obindex; \
|
||||
v2_obi = e->v2_obindex; \
|
||||
new_e = &((LineartEdge *)e_eln->pointer)[e_count]; \
|
||||
e_count++; \
|
||||
e = new_e; \
|
||||
e->v1_obindex = v1_obi; \
|
||||
e->v2_obindex = v2_obi; \
|
||||
|
|
Loading…
Reference in New Issue