Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/drawnode.c
| Context not available. | |||||
| uiItemO(layout, IFACE_("Remove Crypto Layer"), ICON_REMOVE, "NODE_OT_cryptomatte_layer_remove"); | uiItemO(layout, IFACE_("Remove Crypto Layer"), ICON_REMOVE, "NODE_OT_cryptomatte_layer_remove"); | ||||
| } | } | ||||
| static void node_composit_buts_exposure(uiLayout *layout, | |||||
| bContext *UNUSED(C), | |||||
| PointerRNA *ptr) | |||||
| { | |||||
| uiItemR(layout, ptr, "use_alpha", 0, NULL, ICON_NONE); | |||||
| } | |||||
| static void node_composit_buts_brightcontrast(uiLayout *layout, | static void node_composit_buts_brightcontrast(uiLayout *layout, | ||||
| bContext *UNUSED(C), | bContext *UNUSED(C), | ||||
| PointerRNA *ptr) | PointerRNA *ptr) | ||||
| Context not available. | |||||
| ntype->draw_buttons = node_composit_buts_cryptomatte; | ntype->draw_buttons = node_composit_buts_cryptomatte; | ||||
| ntype->draw_buttons_ex = node_composit_buts_cryptomatte_ex; | ntype->draw_buttons_ex = node_composit_buts_cryptomatte_ex; | ||||
| break; | break; | ||||
| case CMP_NODE_EXPOSURE: | |||||
| ntype->draw_buttons = node_composit_buts_exposure; | |||||
| break; | |||||
| case CMP_NODE_BRIGHTCONTRAST: | case CMP_NODE_BRIGHTCONTRAST: | ||||
| ntype->draw_buttons = node_composit_buts_brightcontrast; | ntype->draw_buttons = node_composit_buts_brightcontrast; | ||||
| break; | break; | ||||
| Context not available. | |||||