Fix T71494: brush curve transform crash in sculpt mode
Error in 309cd047ef
This commit is contained in:
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
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue