Commit: c3ae9a3438d4f62c184574d5223930215dd82326
Author: YimingWu
Date:   Tue Mar 16 09:52:24 2021 +0800
Branches: temp-lineart-contained
https://developer.blender.org/rBc3ae9a3438d4f62c184574d5223930215dd82326

LineArt: fix  struct LineartRenderLine *testing[1]; for addressing level issue.

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

M       source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h

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

diff --git a/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h 
b/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
index 8092a78fc8c..7519f3ef40f 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
+++ b/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h
@@ -73,7 +73,7 @@ typedef struct LineartRenderTriangleThread {
    * The size of LineartRenderTriangle is dynamically allocated to contain set 
thread number of
    * "testing" field. Worker threads will test lines against the "base" 
triangle.
    * At least one thread is present, thus we always have at least testing[0]. 
*/
-  struct LineartRenderLine **testing;
+  struct LineartRenderLine *testing[1];
 } LineartRenderTriangleThread;
 
 typedef enum eLineArtElementNodeFlag {

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

Reply via email to