Fix: add missing case in switch statement for curves

This commit is contained in:
Jacques Lucke 2022-03-08 10:23:38 +01:00
parent 3d71a05a1d
commit b588c09eee
1 changed files with 2 additions and 0 deletions

View File

@ -551,6 +551,8 @@ ePaintMode BKE_paintmode_get_active_from_context(const bContext *C)
return PAINT_MODE_TEXTURE_3D;
case OB_MODE_EDIT:
return PAINT_MODE_SCULPT_UV;
case OB_MODE_SCULPT_CURVES:
return PAINT_MODE_SCULPT_CURVES;
default:
return PAINT_MODE_TEXTURE_2D;
}