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-07-26 11:53:08 +0300
committerJeroen Bakker <jeroen@blender.org>2022-07-26 15:25:31 +0300
commitfafc82cb310213dd5d058992155880d409396e54 (patch)
tree9f47a0b202d8bcec48fcf03a0657a538c6e24947
parent2775b6e9b6d9a47fc69aed38700078091ba470c2 (diff)
Fix T99979: GPencil strokes cannot be edited after set origin
The stroke points were changed but the bounding box calculation was not done and this produced a problem in any bounding box check done by different tools.
-rw-r--r--source/blender/editors/object/object_transform.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_transform.cc b/source/blender/editors/object/object_transform.cc
index c9c96900af3..c612a84a631 100644
--- a/source/blender/editors/object/object_transform.cc
+++ b/source/blender/editors/object/object_transform.cc
@@ -1601,6 +1601,7 @@ static int object_origin_set_exec(bContext *C, wmOperator *op)
}
}
}
+ BKE_gpencil_stroke_geometry_update(gpd, gps);
}
}
}