diff options
author | Leon Leno <lone_noel> | 2021-09-03 17:13:29 +0300 |
---|---|---|
committer | Pablo Vazquez <pablo@blender.org> | 2021-09-03 17:18:40 +0300 |
commit | ac97893dfc77fd77e0254a0a4692820c7dbc6967 (patch) | |
tree | e2b40405e21bf8b294a97ea13ca68475c5160d22 /source/blender/depsgraph/intern | |
parent | ae334532cffb2dd9074454b9a7ba095430f18735 (diff) |
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
Diffstat (limited to 'source/blender/depsgraph/intern')
0 files changed, 0 insertions, 0 deletions