code cleanup: comment unused members of bmesh operator slots and some osl style edits.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user