Commit: 9ad5e8cacce9789d03dde30edfc66018fcbb0f46
Author: YimingWu
Date:   Wed Jul 10 21:28:19 2019 +0800
Branches: soc-2019-npr
https://developer.blender.org/rB9ad5e8cacce9789d03dde30edfc66018fcbb0f46

LANPR: Fix return type error.

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

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

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

diff --git a/source/blender/draw/engines/lanpr/lanpr_dpix.c 
b/source/blender/draw/engines/lanpr/lanpr_dpix.c
index 49e1baf9ede..2126da0f493 100644
--- a/source/blender/draw/engines/lanpr/lanpr_dpix.c
+++ b/source/blender/draw/engines/lanpr/lanpr_dpix.c
@@ -428,7 +428,7 @@ void lanpr_create_atlas_intersection_preview(void *vedata, 
int begin_index)
 
   /* Don't overflow the cache. */
   if ((rb->intersection_count + begin_index) > (cache_total - 1)) {
-    return 0;
+    return;
   }
 
   static GPUVertFormat format = {0};

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to