Fix T69782: crash using gizmos in grease pencil edit mode

This commit is contained in:
2019-09-12 11:14:44 +02:00
parent a22c2ceb0f
commit bbae7874c0

View File

@@ -1228,7 +1228,7 @@ void recalcData(TransInfo *t)
/* set recalc triangle cache flag */
recalcData_gpencil_strokes(t);
}
if (t->options & CTX_SCULPT) {
else if (t->options & CTX_SCULPT) {
recalcData_sculpt(t);
}
else if (t->spacetype == SPACE_IMAGE) {