Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/armature/armature_select.c
| Context not available. | |||||
| SIMEDBONE_SUFFIX, | SIMEDBONE_SUFFIX, | ||||
| SIMEDBONE_LAYER, | SIMEDBONE_LAYER, | ||||
| SIMEDBONE_SHAPE, | SIMEDBONE_SHAPE, | ||||
| SIMEDBONE_GROUP, | |||||
aligorith: Check your editor settings. We invent c code using tabs (1 tab = 4 spaces) | |||||
| }; | }; | ||||
| static const EnumPropertyItem prop_similar_types[] = { | static const EnumPropertyItem prop_similar_types[] = { | ||||
| Context not available. | |||||
| {SIMEDBONE_SUFFIX, "SUFFIX", 0, "Suffix", ""}, | {SIMEDBONE_SUFFIX, "SUFFIX", 0, "Suffix", ""}, | ||||
| {SIMEDBONE_LAYER, "LAYER", 0, "Layer", ""}, | {SIMEDBONE_LAYER, "LAYER", 0, "Layer", ""}, | ||||
| {SIMEDBONE_SHAPE, "SHAPE", 0, "Shape", ""}, | {SIMEDBONE_SHAPE, "SHAPE", 0, "Shape", ""}, | ||||
| {SIMEDBONE_GROUP, "GROUP", 0, "Group", ""}, | |||||
| {0, NULL, 0, NULL, NULL} | {0, NULL, 0, NULL, NULL} | ||||
| }; | }; | ||||
| Context not available. | |||||
| arm, obedit, ebone_act, | arm, obedit, ebone_act, | ||||
| sizeof(void *), offsetof(bPoseChannel, custom)); | sizeof(void *), offsetof(bPoseChannel, custom)); | ||||
| break; | break; | ||||
| case SIMEDBONE_GROUP: | |||||
aligorithUnsubmitted Not Done Inline ActionsAgain, match the indentation of the surrounding code. aligorith: Again, match the indentation of the surrounding code. | |||||
| select_similar_data_pchan( | |||||
| arm, obedit, ebone_act, | |||||
| sizeof(((bPoseChannel *)(0))->agrp_index), offsetof(bPoseChannel, agrp_index)); | |||||
| break; | |||||
| } | } | ||||
| WM_event_add_notifier(C, NC_OBJECT | ND_BONE_SELECT, obedit); | WM_event_add_notifier(C, NC_OBJECT | ND_BONE_SELECT, obedit); | ||||
| Context not available. | |||||
Check your editor settings. We invent c code using tabs (1 tab = 4 spaces)