diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-11 04:34:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-11 04:34:41 +0300 |
commit | 52cfc620c8cc3125282d8dd66df312ffb576569c (patch) | |
tree | 2a8a44c61a76de8289dfbe603127b00576ad0407 /source/blender/editors/include/ED_sculpt.h | |
parent | 2d252b6d26f90f81f2a2dc7a3031c407dc8a643c (diff) |
Fix T83013: Annotation with hidden object in sculpt mode crashes
This just avoids the crash, the annotation tool still doesn't work.
Larger changes will be needed to resolve this, see T85532.
Diffstat (limited to 'source/blender/editors/include/ED_sculpt.h')
-rw-r--r-- | source/blender/editors/include/ED_sculpt.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_sculpt.h b/source/blender/editors/include/ED_sculpt.h index 1175d08399e..348ea503372 100644 --- a/source/blender/editors/include/ED_sculpt.h +++ b/source/blender/editors/include/ED_sculpt.h @@ -43,9 +43,9 @@ bool ED_sculpt_mask_box_select(struct bContext *C, bool select); /* transform */ -void ED_sculpt_update_modal_transform(struct bContext *C); -void ED_sculpt_init_transform(struct bContext *C); -void ED_sculpt_end_transform(struct bContext *C); +void ED_sculpt_update_modal_transform(struct bContext *C, struct Object *ob); +void ED_sculpt_init_transform(struct bContext *C, struct Object *ob); +void ED_sculpt_end_transform(struct bContext *C, struct Object *ob); /* sculpt_undo.c */ void ED_sculpt_undosys_type(struct UndoType *ut); |