[Bf-blender-cvs] [474e2aef725] lanpr-under-gp: Fix small typo in the lineart clipping calculations
Sebastian Parborg
noreply at git.blender.org
Tue Jul 28 18:26:59 CEST 2020
Commit: 474e2aef725da7df84b71915a20b07d99c8873ac
Author: Sebastian Parborg
Date: Tue Jul 28 18:25:21 2020 +0200
Branches: lanpr-under-gp
https://developer.blender.org/rB474e2aef725da7df84b71915a20b07d99c8873ac
Fix small typo in the lineart clipping calculations
===================================================================
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 7769de351b7..c8dceb61ffe 100644
--- a/source/blender/editors/lineart/lineart_cpu.c
+++ b/source/blender/editors/lineart/lineart_cpu.c
@@ -722,7 +722,7 @@ static void lineart_main_cull_triangles(LineartRenderBuffer *rb)
/* Point inside near plane */
if (-rt->v[0]->fbcoord[3] > rt->v[0]->fbcoord[2] ||
- rt->v[1]->fbcoord[2] > rt->v[0]->fbcoord[3]) {
+ rt->v[0]->fbcoord[2] > rt->v[0]->fbcoord[3]) {
in0 = 1;
}
if (-rt->v[1]->fbcoord[3] > rt->v[1]->fbcoord[2] ||
More information about the Bf-blender-cvs
mailing list