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>2022-05-30 16:42:38 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-05-30 16:42:38 +0300
commita775389823514c936726f26457b23cb9c6c02eea (patch)
treedd8fe218284e34404623ace9731c931cc11a85cd /source/blender/blenkernel/intern/gpencil.c
parent6a59cf053091dc45e0f94b829bee6c34cf940534 (diff)
parent70171cdfdfd80329f31844bf2b31cfc4dc1376ca (diff)
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'source/blender/blenkernel/intern/gpencil.c')
-rw-r--r--source/blender/blenkernel/intern/gpencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c
index 35b514ac1a0..f86e947910b 100644
--- a/source/blender/blenkernel/intern/gpencil.c
+++ b/source/blender/blenkernel/intern/gpencil.c
@@ -867,7 +867,7 @@ bGPDstroke *BKE_gpencil_stroke_duplicate(bGPDstroke *gps_src,
if (dup_points) {
gps_dst->points = MEM_dupallocN(gps_src->points);
- if ((gps_src->dvert != NULL) && (gps_src->dvert->totweight > 0)) {
+ if (gps_src->dvert != NULL) {
gps_dst->dvert = MEM_dupallocN(gps_src->dvert);
BKE_gpencil_stroke_weights_duplicate(gps_src, gps_dst);
}