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
parent c869f54dcb
commit c597d6cb64

View File

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