UI: Fix sculpt curve not being able to get brush icons
This commit doesn't add the brush icons themselves, but it fix the code that allow them to be used.
This commit is contained in:
@@ -2034,6 +2034,9 @@ static int ui_id_brush_get_icon(const bContext *C, ID *id)
|
||||
else if (ob->mode & OB_MODE_TEXTURE_PAINT) {
|
||||
paint_mode = PAINT_MODE_TEXTURE_3D;
|
||||
}
|
||||
else if (ob->mode & OB_MODE_SCULPT_CURVES) {
|
||||
paint_mode = PAINT_MODE_SCULPT_CURVES;
|
||||
}
|
||||
}
|
||||
else if (space_type == SPACE_IMAGE) {
|
||||
if (area->spacetype == space_type) {
|
||||
|
||||
Reference in New Issue
Block a user