Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2021-07-26 18:25:56 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-07-26 18:25:56 +0300
commitcee67f3be2b3af987a34bb48f909ffad51c4eb0f (patch)
tree630adb74cfeca4165a9f1b2f3bf4a603a511a09a
parenta14ee85ccda63459395b6dc1b18c597e425b261a (diff)
Cleanup: Fix compiler warning in previous commit
-rw-r--r--source/blender/editors/gpencil/gpencil_data.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}