[Bf-blender-cvs] [719fda8482b] temp-angavrilov: Fix drawing annotations on surface.

Alexander Gavrilov noreply at git.blender.org
Sat Nov 27 19:45:58 CET 2021


Commit: 719fda8482b93bb38d3e020c8cd1244d48d6f2ef
Author: Alexander Gavrilov
Date:   Sat Nov 27 21:42:30 2021 +0300
Branches: temp-angavrilov
https://developer.blender.org/rB719fda8482b93bb38d3e020c8cd1244d48d6f2ef

Fix drawing annotations on surface.

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

M	source/blender/editors/gpencil/annotate_paint.c

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

diff --git a/source/blender/editors/gpencil/annotate_paint.c b/source/blender/editors/gpencil/annotate_paint.c
index 47af2cff0ce..2dbd376ab51 100644
--- a/source/blender/editors/gpencil/annotate_paint.c
+++ b/source/blender/editors/gpencil/annotate_paint.c
@@ -1681,7 +1681,7 @@ static void annotation_paint_strokeend(tGPsdata *p)
                              (ts->annotate_v3d_align & GP_PROJECT_DEPTH_STROKE) ?
                                  V3D_DEPTH_GPENCIL_ONLY :
                                  V3D_DEPTH_NO_GPENCIL,
-                             NULL);
+                             &p->depths);
   }
 
   /* check if doing eraser or not */



More information about the Bf-blender-cvs mailing list