Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/key.c
| Context not available. | |||||
| if (!do_force && (key->type != KEY_RELATIVE)) { | if (!do_force && (key->type != KEY_RELATIVE)) { | ||||
| KeyBlock *it_kb; | KeyBlock *it_kb; | ||||
| for (it_kb = key->block.first; it_kb; it_kb = it_kb->next) { | for (it_kb = key->block.first; it_kb; it_kb = it_kb->next) { | ||||
| if (it_kb->pos == cpos) { | if (fabs(it_kb->pos-cpos) < 1e-2) { | ||||
| return kb; | return kb; | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||