Fix use of operator flag as boolean

Error in cb9de95d61
This commit is contained in:
Campbell Barton 2020-11-18 13:13:52 +11:00
parent 2485ee997b
commit eb2c26bd38
1 changed files with 1 additions and 1 deletions

View File

@ -1213,7 +1213,7 @@ static bool sculpt_face_set_edit_is_operation_valid(SculptSession *ss,
{
if (BKE_pbvh_type(ss->pbvh) == PBVH_BMESH) {
/* Dyntopo is not supported. */
return OPERATOR_CANCELLED;
return false;
}
if (mode == SCULPT_FACE_SET_EDIT_DELETE_GEOMETRY) {