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
committerThomas Dinges <blender@dingto.org>2022-07-26 17:49:00 +0300
commit0167920d0bde3187a7ffb75d04541ece8c725a86 (patch)
treedb34d32622cb747142e02a88128b68dc0795d46d
parent5f7c677ac968233fe277ea9b6ab7891f820f3677 (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 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);
}
}
}