Fix transforming paint curve edit points also doing

ED_sculpt_end_transform in sculpt mode

followup to rB67310ed97618, thx @mano-wii for the heads up.
This commit is contained in:
Philipp Oeser 2019-09-18 19:57:17 +02:00
parent 85acd72c9b
commit e7fde3a0f3
1 changed files with 1 additions and 1 deletions

View File

@ -2299,7 +2299,7 @@ void saveTransform(bContext *C, TransInfo *t, wmOperator *op)
}
}
if (t->options & CTX_SCULPT) {
if ((t->options & CTX_SCULPT) && !(t->options & CTX_PAINT_CURVE)) {
ED_sculpt_end_transform(C);
}