UI: add tool panel for node editor, use tabs

This follows the 3D view, adding an "Options" tab.
This commit is contained in:
Campbell Barton
2019-05-17 10:58:43 +10:00
parent 2a9214eaaf
commit 7baddbf818
2 changed files with 20 additions and 9 deletions

View File

@@ -1001,6 +1001,7 @@ void ED_spacetype_node(void)
art->prefsizex = UI_SIDEBAR_PANEL_WIDTH;
art->keymapflag = ED_KEYMAP_UI | ED_KEYMAP_FRAMES;
art->listener = node_region_listener;
art->message_subscribe = ED_area_do_mgs_subscribe_for_tool_ui;
art->init = node_buttons_region_init;
art->draw = node_buttons_region_draw;
BLI_addhead(&st->regiontypes, art);