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
- 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…
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.
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.