diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-09-20 18:32:09 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-09-20 18:32:09 +0300 |
commit | 5c33704ffa2f90fcabc46edcb4f8215f5ec9c543 (patch) | |
tree | ed4891e04e2df70f66199398a3907033bd52e5d2 /source/blender/editors/gpencil/gpencil_bake_animation.cc | |
parent | afe91903af49abafb5796c6d13447b119d37c412 (diff) |
GPencil: Add `offset` parameter to reproject operator Redo Panel
Now it's possible to set an offset in the surface reprojection.
Before, this was only possible while drawing, but not in the
reproject operator.
Differential Revision: https://developer.blender.org/D15610
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_bake_animation.cc')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_bake_animation.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_bake_animation.cc b/source/blender/editors/gpencil/gpencil_bake_animation.cc index e480852a9bb..28d4e1c6d42 100644 --- a/source/blender/editors/gpencil/gpencil_bake_animation.cc +++ b/source/blender/editors/gpencil/gpencil_bake_animation.cc @@ -327,7 +327,7 @@ static int gpencil_bake_grease_pencil_animation_exec(bContext *C, wmOperator *op /* Reproject stroke. */ if (project_type != GP_REPROJECT_KEEP) { ED_gpencil_stroke_reproject( - depsgraph, &gsc, sctx, gpl_dst, gpf_dst, gps, project_type, false); + depsgraph, &gsc, sctx, gpl_dst, gpf_dst, gps, project_type, false, 0.0f); } else { BKE_gpencil_stroke_geometry_update(gpd_dst, gps); |