Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-18 05:13:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-18 05:13:52 +0300
commiteb2c26bd38032139086978404835d90be113a3e4 (patch)
tree09d32b076813a783332e58f79eca94b381c7b206 /source/blender/editors
parent2485ee997beb651ded39083e31db5ee69b39b380 (diff)
Fix use of operator flag as boolean
Error in cb9de95d61b32f90788875f20e046095bb6310ad
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_face_set.c2
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) {