Blender Git Commit Log

Git Commits -> Revision ac97893

Revision ac97893 by Leon Leno (master)
September 3, 2021, 14:18 (GMT)
Fix T88411: Draw frame node text when label is empty

This patch fixes the issue described in T88411, that the text in frame nodes is only shown, when the node has a label. This has been caused by rB8f04ddbbc626, because `node_draw_frame_label` not only draws the label, but also all the other text. Therefore skipping it, when the label is empty, also skips drawing the other text.
This is fixed by moving the check for the empty label into `node_frame_draw_label`.

**Patch:** Frame nodes show text despite not having a label.
{F10286204, size = full}

**Same setup in master:**
{F10128099, size = full}

**Test file**
{F10128102}

Reviewed By: #user_interface, pablovazquez

Maniphest Tasks: T88411

Differential Revision: https://developer.blender.org/D11315

Commit Details:

Full Hash: ac97893dfc77fd77e0254a0a4692820c7dbc6967
Parent Commit: ae33453
Committed By: Pablo Vazquez
Lines Changed: +10, -7

1 Modified Path:

/source/blender/editors/space_node/drawnode.cc (+10, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021