[Bf-blender-cvs] [0f606437c3d] soc-2019-npr: Cleanup: Fix build error with MSVC

Ray Molenkamp noreply at git.blender.org
Fri Jul 5 15:12:54 CEST 2019


Commit: 0f606437c3d886f39afd13aed92f8f20e89c307e
Author: Ray Molenkamp
Date:   Fri Jul 5 07:12:45 2019 -0600
Branches: soc-2019-npr
https://developer.blender.org/rB0f606437c3d886f39afd13aed92f8f20e89c307e

Cleanup: Fix build error with MSVC

space after \ is not allowed

===================================================================

M	source/blender/draw/engines/lanpr/lanpr_chain.c

===================================================================

diff --git a/source/blender/draw/engines/lanpr/lanpr_chain.c b/source/blender/draw/engines/lanpr/lanpr_chain.c
index b78baf75616..b9e7c5ee840 100644
--- a/source/blender/draw/engines/lanpr/lanpr_chain.c
+++ b/source/blender/draw/engines/lanpr/lanpr_chain.c
@@ -493,9 +493,7 @@ void lanpr_link_point_with_bounding_area_recursive(LANPR_RenderBuffer *rb,
     LANPR_BoundingArea *ch = root->child;
 
 #define IN_BOUND(ba, rlci) \
-  \ 
-      ba.l <= rlci->pos[0] && \
-      ba.r >= rlci->pos[0] && ba.b <= rlci->pos[1] && ba.u >= rlci->pos[1]
+  ba.l <= rlci->pos[0] && ba.r >= rlci->pos[0] && ba.b <= rlci->pos[1] && ba.u >= rlci->pos[1]
 
     if (IN_BOUND(ch[0], rlci)) {
       lanpr_link_point_with_bounding_area_recursive(rb, &ch[0], rlc, rlci);



More information about the Bf-blender-cvs mailing list