diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-06-28 14:21:04 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-06-28 14:21:04 +0300 |
commit | 16eca8f47ed6096ce726306b1059f4d50b04454f (patch) | |
tree | 1d53812c2b5f7af0317af83e551dde235239ca31 /source | |
parent | 2c0ee61f6d3dc6baf8bb75d747c4fb1c2aca2f87 (diff) |
Fix own really stupid mistake/typo in previous commit...
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/bmesh/operators/bmo_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_create.c b/source/blender/bmesh/operators/bmo_create.c index 20b8a481ede..fa08d009d40 100644 --- a/source/blender/bmesh/operators/bmo_create.c +++ b/source/blender/bmesh/operators/bmo_create.c @@ -74,7 +74,7 @@ void bmo_contextual_create_exec(BMesh *bm, BMOperator *op) BMVert *verts[2]; BMEdge *e; - if (BMO_iter_as_array(op->slots_in, "geom", BM_VERT, (void **)verts, 2) == 0) { + if (BMO_iter_as_array(op->slots_in, "geom", BM_VERT, (void **)verts, 2) == 2) { /* create edge */ e = BM_edge_create(bm, verts[0], verts[1], NULL, BM_CREATE_NO_DOUBLE); BMO_edge_flag_enable(bm, e, ELE_OUT); |