Details
Details
- Reviewers
Clément Foucault (fclem) Brecht Van Lommel (brecht) - Maniphest Tasks
- T63605: Assert error squeezing a template_curve_mapping in a panel to almost zero horizontally
- Commits
- rBS56b0cd1db636: Fix T63605: Assert squeezing a template_curve_mapping in a panel to almost zero…
rB56b0cd1db636: Fix T63605: Assert squeezing a template_curve_mapping in a panel to almost zero…
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
| source/blender/editors/interface/interface_draw.c | ||
|---|---|---|
| 1730–1731 | Code style: it's better to return early than creating indentation blocks if possible. It does not make a huge diff here in this case but better get used to it. | |
| source/blender/editors/interface/interface_templates.c | ||
|---|---|---|
| 4285 | Use max_ii instead here. It doesn't make much difference in this case, but in general it's more efficient to use the function. The macro can call the uiLayoutGetWidth() function twice. | |