forked from bartvdbraak/blender
Fix [#32133] Numpad Enter key doesnt work with Loopcut (worked in 2.49b)
Adding PADENTER to the "OK" keys...
This commit is contained in:
parent
2c2e1775f9
commit
3d9637f60a
@ -447,6 +447,7 @@ static int loopcut_modal(bContext *C, wmOperator *op, wmEvent *event)
|
||||
|
||||
switch (event->type) {
|
||||
case RETKEY:
|
||||
case PADENTER:
|
||||
case LEFTMOUSE: /* confirm */ // XXX hardcoded
|
||||
if (event->val == KM_PRESS) {
|
||||
/* finish */
|
||||
|
@ -79,7 +79,7 @@ static DerivedMesh *doEdgeSplit(DerivedMesh *dm, EdgeSplitModifierData *emd, Obj
|
||||
if ((l1 = e->l) &&
|
||||
(l2 = e->l->radial_next) != l1)
|
||||
{
|
||||
if (/* 3+ faces on thsi edge, always split */
|
||||
if (/* 3+ faces on this edge, always split */
|
||||
UNLIKELY(l1 != l2->radial_next) ||
|
||||
/* 2 face edge - check angle*/
|
||||
(dot_v3v3(l1->f->no, l2->f->no) < threshold))
|
||||
|
Loading…
Reference in New Issue
Block a user