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>2020-07-02 10:29:30 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-07-02 10:29:30 +0300
commit22197d7f8a26fb1284435f554fbc8bb4a1735f16 (patch)
treed1c33c83db54159526791445432f4f30249c76da /source/blender/blenkernel/intern/gpencil_geom.c
parent26ffed74661e4e67d7d7f720404d3f821d824d55 (diff)
Fix T76886: GPencil - Flickering when use Background or Camera image
The problem was if some stroke was empty and the changed flag was set to the last stroke wrongly.
Diffstat (limited to 'source/blender/blenkernel/intern/gpencil_geom.c')
-rw-r--r--source/blender/blenkernel/intern/gpencil_geom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/gpencil_geom.c b/source/blender/blenkernel/intern/gpencil_geom.c
index 542f80aa9b5..746ef7c5d1f 100644
--- a/source/blender/blenkernel/intern/gpencil_geom.c
+++ b/source/blender/blenkernel/intern/gpencil_geom.c
@@ -95,7 +95,7 @@ bool BKE_gpencil_data_minmax(const bGPdata *gpd, float r_min[3], float r_max[3])
if (gpf != NULL) {
LISTBASE_FOREACH (bGPDstroke *, gps, &gpf->strokes) {
- changed = BKE_gpencil_stroke_minmax(gps, false, r_min, r_max);
+ changed |= BKE_gpencil_stroke_minmax(gps, false, r_min, r_max);
}
}
}