Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-03-11 07:27:34 +0300
committerCampbell Barton <campbell@blender.org>2022-03-11 07:27:34 +0300
commitcf586484094979d0d08b6154c8b2d4d57b916126 (patch)
tree7e37316f762d16075d86f1485db40c797d0d6d09 /source/blender/makesrna/intern/rna_curve_api.c
parentd2222d5b2cac203f4ddaae5c99b96701587231e7 (diff)
Correct error in d2222d5b2cac203f4ddaae5c99b96701587231e7
Diffstat (limited to 'source/blender/makesrna/intern/rna_curve_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_curve_api.c2
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;