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>2012-11-27 13:41:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-27 13:41:08 +0400
commitc00a1b7493822abc62723e16082a908b221c6514 (patch)
treee02dca5c4258515e58c4859a3b2efd6544539c76 /source/blender/bmesh/intern/bmesh_operators.c
parenta9855c227e6bfc955a6b2f15e8ee656218c3f916 (diff)
use clearer names for 'single' bmesh operator args & add '%e' to BMO_op_vinitf comments.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_operators.c')
-rw-r--r--source/blender/bmesh/intern/bmesh_operators.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/intern/bmesh_operators.c b/source/blender/bmesh/intern/bmesh_operators.c
index 54866c756cb..7c9b02b4952 100644
--- a/source/blender/bmesh/intern/bmesh_operators.c
+++ b/source/blender/bmesh/intern/bmesh_operators.c
@@ -1490,6 +1490,7 @@ static int bmo_opname_to_opcode(const char *opname)
* f - float
* s - slot_in
* S - slot_out
+ * e - single vert/edge/face
* hv - header flagged verts (hflag)
* he - header flagged edges (hflag)
* hf - header flagged faces (hflag)
@@ -1601,9 +1602,8 @@ int BMO_op_vinitf(BMesh *bm, BMOperator *op, const int flag, const char *_fmt, v
state = 1;
break;
}
- case 'e':
+ case 'e': /* single vert/edge/face */
{
- /* XXX we have 'e' but no equivalent for verts/faces - why? we could use (V/E/P)*/
BMHeader *ele = va_arg(vlist, void *);
BMOpSlot *slot = BMO_slot_get(op->slots_in, slot_name);