Merge branch 'blender-v3.4-release'
This commit is contained in:
commit
fe2be36510
|
@ -1109,7 +1109,7 @@ static TransConvertTypeInfo *convert_type_get(const TransInfo *t, Object **r_obj
|
|||
PE_start_edit(PE_get_current(t->depsgraph, t->scene, ob))) {
|
||||
return &TransConvertType_Particle;
|
||||
}
|
||||
if (ob && (ob->mode & OB_MODE_ALL_PAINT)) {
|
||||
if (ob && ((ob->mode & OB_MODE_ALL_PAINT) || (ob->mode & OB_MODE_SCULPT_CURVES))) {
|
||||
if ((t->options & CTX_PAINT_CURVE) && !ELEM(t->mode, TFM_SHEAR, TFM_SHRINKFATTEN)) {
|
||||
return &TransConvertType_PaintCurve;
|
||||
}
|
||||
|
|
|
@ -309,7 +309,7 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
|
|||
t->flag |= T_V3D_ALIGN;
|
||||
}
|
||||
|
||||
if (object_mode & OB_MODE_ALL_PAINT) {
|
||||
if ((object_mode & OB_MODE_ALL_PAINT) || (object_mode & OB_MODE_SCULPT_CURVES)) {
|
||||
Paint *p = BKE_paint_get_active_from_context(C);
|
||||
if (p && p->brush && (p->brush->flag & BRUSH_CURVE)) {
|
||||
t->options |= CTX_PAINT_CURVE;
|
||||
|
|
Loading…
Reference in New Issue