Fix Randomize Face Sets Colors not working in Multires
The operator was disabled when it was added because Face Sets were not supported in Multires. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7312
This commit is contained in:
parent
21c658b718
commit
bb9a282c7e
|
@ -922,8 +922,8 @@ static int sculpt_face_sets_randomize_colors_invoke(bContext *C,
|
|||
SculptSession *ss = ob->sculpt;
|
||||
ARegion *region = CTX_wm_region(C);
|
||||
|
||||
/* Dyntopo and Multires not supported for now. */
|
||||
if (BKE_pbvh_type(ss->pbvh) != PBVH_FACES) {
|
||||
/* Dyntopo not supported. */
|
||||
if (BKE_pbvh_type(ss->pbvh) == PBVH_BMESH) {
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue