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.
This commit is contained in:
Antonio Vazquez 2022-07-26 10:53:08 +02:00 committed by Thomas Dinges
parent 5f7c677ac9
commit 0167920d0b
Notes: blender-bot 2023-02-14 10:14:07 +01:00
Referenced by issue #99979, GPencil strokes cannot be edited after set origin
Referenced by issue #98661, 3.2: Potential candidates for corrective releases
1 changed files with 1 additions and 0 deletions

View File

@ -1598,6 +1598,7 @@ static int object_origin_set_exec(bContext *C, wmOperator *op)
}
}
}
BKE_gpencil_stroke_geometry_update(gpd, gps);
}
}
}