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 */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to