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:
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
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue