diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-08-04 03:04:45 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-08-04 03:04:45 +0400 |
commit | 44d51f3f6451da9986508fba95c7013e635be098 (patch) | |
tree | 40457805a6aaab1f31d7f108901a68f0301b63ca | |
parent | 33a6ba99cab0059a2db3c379d77cab2427cb92a5 (diff) |
Missed keyIndex data existment check when the whole nurb is deleting
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index 16204e9f199..f2e05da7995 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -397,6 +397,10 @@ static void keyIndex_delNurb(EditNurb *editnurb, Nurb *nu) { int a; + if (!editnurb->keyindex) { + return; + } + if (nu->bezt) { BezTriple *bezt= nu->bezt; a= nu->pntsu; |