diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-18 05:13:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-18 05:13:52 +0300 |
commit | eb2c26bd38032139086978404835d90be113a3e4 (patch) | |
tree | 09d32b076813a783332e58f79eca94b381c7b206 /source | |
parent | 2485ee997beb651ded39083e31db5ee69b39b380 (diff) |
Fix use of operator flag as boolean
Error in cb9de95d61b32f90788875f20e046095bb6310ad
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_face_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_face_set.c b/source/blender/editors/sculpt_paint/sculpt_face_set.c index c05dace380a..f67c8f701f7 100644 --- a/source/blender/editors/sculpt_paint/sculpt_face_set.c +++ b/source/blender/editors/sculpt_paint/sculpt_face_set.c @@ -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) { |