diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 18:31:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 18:31:58 +0400 |
commit | 68e9fdeb810e1665c1415abffc43ba3e2030e88d (patch) | |
tree | 525c25c2712187be90d49a469d5db452af9cf5c3 /source/blender | |
parent | f92359cc2998126395ff772f1f0d20867c058be0 (diff) |
code cleanup: comment unused members of bmesh operator slots and some osl style edits.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_operator_api.h | 4 | ||||
-rw-r--r-- | source/blender/bmesh/intern/bmesh_operators.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/bmesh/intern/bmesh_operator_api.h b/source/blender/bmesh/intern/bmesh_operator_api.h index 1bff79ba799..b87e023e63a 100644 --- a/source/blender/bmesh/intern/bmesh_operator_api.h +++ b/source/blender/bmesh/intern/bmesh_operator_api.h @@ -119,8 +119,8 @@ typedef struct BMOpSlot { const char *slot_name; /* pointer to BMOpDefine.slot_args */ int slot_type; int len; - int flag; - int index; /* index within slot array */ +// int flag; /* UNUSED */ +// int index; /* index within slot array */ /* UNUSED */ union { int i; float f; diff --git a/source/blender/bmesh/intern/bmesh_operators.c b/source/blender/bmesh/intern/bmesh_operators.c index 2566d6bfa24..54035b47b57 100644 --- a/source/blender/bmesh/intern/bmesh_operators.c +++ b/source/blender/bmesh/intern/bmesh_operators.c @@ -133,7 +133,7 @@ static void bmo_op_slots_init(BMOSlotType *slot_types, BMOpSlot *slot_args) for (i = 0; slot_types[i].type; i++) { slot_args[i].slot_name = slot_types[i].name; slot_args[i].slot_type = slot_types[i].type; - slot_args[i].index = i; + // slot_args[i].index = i; // UNUSED } } |