Fix T41730: Knife Cut fails on concave faces
This commit is contained in:
parent
f7945c659b
commit
1083da4bde
Notes:
blender-bot
2023-02-14 10:07:08 +01:00
Referenced by issue #41730, Knife Cut fails on concave faces
|
@ -2409,6 +2409,10 @@ static void knife_make_face_cuts(KnifeTool_OpData *kcd, BMFace *f, ListBase *kfe
|
|||
kfe->basef = fnew;
|
||||
BLI_addtail(&fnew_kfedges, ref);
|
||||
}
|
||||
else if (!knife_edge_in_face(kfe, f)) {
|
||||
/* Concave ngon's - this edge might not be in either faces, T41730 */
|
||||
BLI_remlink(kfedges, ref);
|
||||
}
|
||||
}
|
||||
if (fnew_kfedges.first)
|
||||
knife_make_face_cuts(kcd, fnew, &fnew_kfedges);
|
||||
|
|
Loading…
Reference in New Issue