Sculpt: fix face set extract clicking in empty space
Should not do anything in that case. ref T82615 Maniphest Tasks: T82615 Differential Revision: https://developer.blender.org/D9532
This commit is contained in:
parent
b4b4532ce0
commit
12dd26a2bb
Notes:
blender-bot
2023-02-14 06:27:47 +01:00
Referenced by issue #82615, in sculpt mode is impossible to cancel the -Extract Face Set- operation
|
@ -110,7 +110,10 @@ int ED_sculpt_face_sets_active_update_and_get(bContext *C, Object *ob, const flo
|
|||
}
|
||||
|
||||
SculptCursorGeometryInfo gi;
|
||||
SCULPT_cursor_geometry_info_update(C, &gi, mval, false);
|
||||
if (!SCULPT_cursor_geometry_info_update(C, &gi, mval, false)) {
|
||||
return SCULPT_FACE_SET_NONE;
|
||||
}
|
||||
|
||||
return SCULPT_active_face_set_get(ss);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue