BKE_nurb_type_convert now takes r_err_msg and is more specific in the error message...
ref T71672.
Differential D6275
Improve error message converting nurb to bezier Authored by Philipp Oeser (lichtwerk) on Nov 19 2019, 12:06 PM. Tags None Subscribers None
Details
BKE_nurb_type_convert now takes r_err_msg and is more specific in the error message... ref T71672.
Diff Detail
Event TimelineComment Actions While this change is OK, I think it would be better if this was set by the function it's self. BKE_nurb_type_convert could take and optional const char **r_err_msg, and assign this in the case of an error. This means if it ever returns false for another reason - it's less likely a developer doesn't notice the error needs updating elsewhere, or if we want to report the message elsewhere - we don't need to copy/paste messages about.
| ||||||||||||