Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_templates.c
| Context not available. | |||||
| /* find modifier and draw it */ | /* find modifier and draw it */ | ||||
| cageIndex = modifiers_getCageIndex(scene, ob, &lastCageIndex, 0); | cageIndex = modifiers_getCageIndex(scene, ob, &lastCageIndex, 0); | ||||
| /* XXX virtual modifiers are not accesible for python */ | /* XXX virtual modifiers are not accessible for python */ | ||||
| vmd = modifiers_getVirtualModifierList(ob, &virtualModifierData); | vmd = modifiers_getVirtualModifierList(ob, &virtualModifierData); | ||||
| for (i = 0; vmd; i++, vmd = vmd->next) { | for (i = 0; vmd; i++, vmd = vmd->next) { | ||||
| Context not available. | |||||
| block = UI_block_begin(C, ar, __func__, UI_EMBOSS); | block = UI_block_begin(C, ar, __func__, UI_EMBOSS); | ||||
| /* use this for a fake extra empy space around the buttons */ | /* use this for a fake extra empty space around the buttons */ | ||||
| uiDefBut(block, UI_BTYPE_LABEL, 0, "", -4, 16, width + 8, 6 * UI_UNIT_Y, NULL, 0, 0, 0, 0, ""); | uiDefBut(block, UI_BTYPE_LABEL, 0, "", -4, 16, width + 8, 6 * UI_UNIT_Y, NULL, 0, 0, 0, 0, ""); | ||||
| bt = uiDefButBitI( | bt = uiDefButBitI( | ||||
| Context not available. | |||||