Correct error in d2222d5b2c

This commit is contained in:
Campbell Barton 2022-03-11 15:27:34 +11:00
parent d2222d5b2c
commit cf58648409
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ static void rna_Nurb_valid_message(Nurb *nu, int direction, int *result_len, con
int pnts;
short order, flag;
const char *dir;
if (direction) {
if (direction == 0) {
pnts = nu->pntsu;
order = nu->orderu;
flag = nu->flagu;