[Bf-blender-cvs] [cf586484094] master: Correct error in d2222d5b2cac203f4ddaae5c99b96701587231e7
Campbell Barton
noreply at git.blender.org
Fri Mar 11 05:30:44 CET 2022
Commit: cf586484094979d0d08b6154c8b2d4d57b916126
Author: Campbell Barton
Date: Fri Mar 11 15:27:34 2022 +1100
Branches: master
https://developer.blender.org/rBcf586484094979d0d08b6154c8b2d4d57b916126
Correct error in d2222d5b2cac203f4ddaae5c99b96701587231e7
===================================================================
M source/blender/makesrna/intern/rna_curve_api.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list