diff options
author | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2012-11-13 04:54:57 +0400 |
---|---|---|
committer | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2012-11-13 04:54:57 +0400 |
commit | 2243ab514a8038df74fd2be0b20a4227b93c11a6 (patch) | |
tree | 960a33f2f05aaf78534ce910209181fb2c5ed0c4 /source/blender/ikplugin/intern/ikplugin_api.c | |
parent | 156047263e44f088e700554e34dd3f66fded75fe (diff) |
Diffstat (limited to 'source/blender/ikplugin/intern/ikplugin_api.c')
-rw-r--r-- | source/blender/ikplugin/intern/ikplugin_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/ikplugin/intern/ikplugin_api.c b/source/blender/ikplugin/intern/ikplugin_api.c index 9a0878f24ce..48dd424603f 100644 --- a/source/blender/ikplugin/intern/ikplugin_api.c +++ b/source/blender/ikplugin/intern/ikplugin_api.c @@ -86,7 +86,7 @@ static IKPlugin ikplugin_tab[] = { static IKPlugin *get_plugin(bPose *pose) { - if (!pose || pose->iksolver < 0 || pose->iksolver >= (sizeof(ikplugin_tab) / sizeof(IKPlugin))) + if (!pose || pose->iksolver < 0 || pose->iksolver > (sizeof(ikplugin_tab) / sizeof(IKPlugin))) return NULL; return &ikplugin_tab[pose->iksolver]; |