Fix T80138 Node Editor: Add Frame turns background gray

The removed `UI_ThemeClearColor` made no sense in this context. It must
have been a leftover from previous refactor.
This commit is contained in:
Clément Foucault 2020-08-30 18:24:19 +02:00
parent 3699d6fe34
commit 0299817e0e
Notes: blender-bot 2023-02-13 21:23:40 +01:00
Referenced by issue #80138, Node Editor: Add Frame turns background gray
1 changed files with 0 additions and 3 deletions

View File

@ -456,7 +456,6 @@ static void node_draw_frame(const bContext *C,
bNodeInstanceKey UNUSED(key))
{
rctf *rct = &node->totr;
int color_id = node_get_colorid(node);
float color[4];
float alpha;
@ -499,8 +498,6 @@ static void node_draw_frame(const bContext *C,
/* label */
node_draw_frame_label(ntree, node, snode->aspect);
UI_ThemeClearColor(color_id);
UI_block_end(C, node->block);
UI_block_draw(C, node->block);
node->block = NULL;