diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-07-26 11:53:08 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2022-07-26 17:49:00 +0300 |
commit | 0167920d0bde3187a7ffb75d04541ece8c725a86 (patch) | |
tree | db34d32622cb747142e02a88128b68dc0795d46d /source | |
parent | 5f7c677ac968233fe277ea9b6ab7891f820f3677 (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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/object/object_transform.cc | 1 |
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 82e67231ec1..25ed83b37fa 100644 --- a/source/blender/editors/object/object_transform.cc +++ b/source/blender/editors/object/object_transform.cc @@ -1598,6 +1598,7 @@ static int object_origin_set_exec(bContext *C, wmOperator *op) } } } + BKE_gpencil_stroke_geometry_update(gpd, gps); } } } |