[Bf-blender-cvs] [1c2b8641555] temp-lanpr-review: LANPR: Remove debug print in triangle clipping
YimingWu
noreply at git.blender.org
Thu Nov 28 06:30:12 CET 2019
Commit: 1c2b8641555ce8e9ae23546cbfce00286684a450
Author: YimingWu
Date: Thu Nov 28 13:29:49 2019 +0800
Branches: temp-lanpr-review
https://developer.blender.org/rB1c2b8641555ce8e9ae23546cbfce00286684a450
LANPR: Remove debug print in triangle clipping
===================================================================
M source/blender/editors/lanpr/lanpr_cpu.c
===================================================================
diff --git a/source/blender/editors/lanpr/lanpr_cpu.c b/source/blender/editors/lanpr/lanpr_cpu.c
index 602e8ba6eef..a42fb9f73fc 100644
--- a/source/blender/editors/lanpr/lanpr_cpu.c
+++ b/source/blender/editors/lanpr/lanpr_cpu.c
@@ -965,17 +965,6 @@ static void lanpr_cull_triangles(LANPR_RenderBuffer *rb)
/* Select the triangle in the array. */
rt = (void *)(((unsigned char *)reln->pointer) + rb->triangle_size * i);
-#ifdef DEBUG
- /* Debug purpose */
- printf("z%f w%f z%f w%f z%f w%f\n",
- rt->v[0]->fbcoord[2],
- rt->v[0]->fbcoord[1],
- rt->v[1]->fbcoord[2],
- rt->v[1]->fbcoord[1],
- rt->v[2]->fbcoord[2],
- rt->v[2]->fbcoord[1]);
-#endif
-
/* Point inside near plane */
if (rt->v[0]->fbcoord[2] < 0) {
in0 = 1;
More information about the Bf-blender-cvs
mailing list