Enable color filter brush for pbvh bmesh

This commit is contained in:
Joseph Eagar 2021-04-27 09:12:35 -07:00
parent 815d77192f
commit 02b4df9827
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ static int sculpt_color_filter_invoke(bContext *C, wmOperator *op, const wmEvent
if (!ss->pbvh) {
return OPERATOR_CANCELLED;
}
if (BKE_pbvh_type(pbvh) != PBVH_FACES) {
if (BKE_pbvh_type(pbvh) == PBVH_GRIDS) {
return OPERATOR_CANCELLED;
}