Fix T70006: crash when transforming paint curve edit points in sculpt mode
This was caused by rB309cd047ef46. Above commit introduced code that would skip early for sculptmode (leaving out the neccessary createTransPaintCurveVerts). Reviewers: pablodp606, jbakker, mano-wii Maniphest Tasks: T70006 Differential Revision: https://developer.blender.org/D5837
This commit is contained in:
parent
383c4ba3d8
commit
67310ed976
Notes:
blender-bot
2023-02-14 07:25:46 +01:00
Referenced by issue #70006, Crash when using Curve as Stroke Method for Crease or Pinch in sculpt mode
|
@ -2399,7 +2399,7 @@ void createTransData(bContext *C, TransInfo *t)
|
|||
}
|
||||
countAndCleanTransDataContainer(t);
|
||||
}
|
||||
else if (t->options & CTX_SCULPT) {
|
||||
else if ((t->options & CTX_SCULPT) && !(t->options & CTX_PAINT_CURVE)) {
|
||||
createTransSculpt(t);
|
||||
countAndCleanTransDataContainer(t);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue