diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-11 07:27:34 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-11 07:27:34 +0300 |
commit | cf586484094979d0d08b6154c8b2d4d57b916126 (patch) | |
tree | 7e37316f762d16075d86f1485db40c797d0d6d09 /source/blender/makesrna | |
parent | d2222d5b2cac203f4ddaae5c99b96701587231e7 (diff) |
Correct error in d2222d5b2cac203f4ddaae5c99b96701587231e7
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_curve_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_curve_api.c b/source/blender/makesrna/intern/rna_curve_api.c index 72c1182ada1..f31e72ce652 100644 --- a/source/blender/makesrna/intern/rna_curve_api.c +++ b/source/blender/makesrna/intern/rna_curve_api.c @@ -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; |