Fix T71494: brush curve transform crash in sculpt mode

Error in 309cd047ef
This commit is contained in:
Campbell Barton 2019-11-13 13:31:59 +11:00
parent 1252577580
commit 4782e941c8
Notes: blender-bot 2023-02-14 00:57:33 +01:00
Referenced by issue #71494, Assert on UNDO when sculpting with curves
1 changed files with 1 additions and 1 deletions

View File

@ -2415,7 +2415,7 @@ bool initTransform(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
createTransData(C, t); // make TransData structs from selection
if (t->options & CTX_SCULPT) {
if ((t->options & CTX_SCULPT) && !(t->options & CTX_PAINT_CURVE)) {
ED_sculpt_init_transform(C);
}