Bugfix for infinite loop in Sample Keys function in the action editor,
with two keyframes on the same location.
This commit is contained in:
@@ -1634,12 +1634,12 @@ void sample_action_keys (void)
|
||||
|
||||
/* free temp cache */
|
||||
MEM_freeN(value_cache);
|
||||
|
||||
/* as we added keyframes, we need to compensate so that bezt is at the right place */
|
||||
bezt = icu->bezt + i + range - 1;
|
||||
i += (range - 1);
|
||||
}
|
||||
|
||||
/* as we added keyframes, we need to compensate so that bezt is at the right place */
|
||||
bezt = icu->bezt + i + range - 1;
|
||||
i += (range - 1);
|
||||
|
||||
/* bezt was selected, so it now marks the start of a whole new chain to search */
|
||||
start= bezt;
|
||||
end= NULL;
|
||||
|
||||
Reference in New Issue
Block a user