diff options
author | Laurynas Duburas <laurynas> | 2022-03-22 17:54:13 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-03-22 17:54:13 +0300 |
commit | 6bbc3b56108193ed383fcab1261360901c4c340a (patch) | |
tree | 1605841a0ce42db1bc7dab67210cd0dd721d97c5 /source/blender/blenkernel/BKE_curve.h | |
parent | b0aaf6ff4a9731e9142d8cf32ebcc1a01a4f5cc8 (diff) |
Curve: Validation message split from nurb_check_valid
Split retrieval of translated text for the "invalid" messages for NURBS
curves from the actual calculation, which is a lower-level function.
Also fixes an issue where "At least two points required" would always
display in the "Active Spline" panel.
Differential Revision: https://developer.blender.org/D14315
Diffstat (limited to 'source/blender/blenkernel/BKE_curve.h')
-rw-r--r-- | source/blender/blenkernel/BKE_curve.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h index 394d97223e3..42897c59043 100644 --- a/source/blender/blenkernel/BKE_curve.h +++ b/source/blender/blenkernel/BKE_curve.h @@ -274,7 +274,7 @@ bool BKE_nurb_valid_message(int pnts, short flag, short type, bool is_surf, - const char *dir, + int dir, char *message_dst, size_t maxncpy); |