[Bf-blender-cvs] [cee67f3be2b] master: Cleanup: Fix compiler warning in previous commit

Antonio Vazquez noreply at git.blender.org
Mon Jul 26 17:26:00 CEST 2021


Commit: cee67f3be2b3af987a34bb48f909ffad51c4eb0f
Author: Antonio Vazquez
Date:   Mon Jul 26 17:25:56 2021 +0200
Branches: master
https://developer.blender.org/rBcee67f3be2b3af987a34bb48f909ffad51c4eb0f

Cleanup: Fix compiler warning in previous commit

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

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

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

diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c
index 48026ae1bda..8baac26bed3 100644
--- a/source/blender/editors/gpencil/gpencil_data.c
+++ b/source/blender/editors/gpencil/gpencil_data.c
@@ -1358,7 +1358,7 @@ static int gpencil_merge_layer_exec(bContext *C, wmOperator *op)
     /* Apply layer transformation. */
     LISTBASE_FOREACH (bGPDstroke *, gps_src, &gpf_src->strokes) {
       for (int p = 0; p < gps_src->totpoints; p++) {
-        const bGPDspoint *pt = &gps_src->points[p];
+        bGPDspoint *pt = &gps_src->points[p];
         mul_v3_m4v3(&pt->x, gpl_src->layer_mat, &pt->x);
       }
     }



More information about the Bf-blender-cvs mailing list