Fix: Left in debug prints

This commit is contained in:
Joshua Leung
2018-05-07 16:55:13 +02:00
parent e7eee7764a
commit 6c2588761c

View File

@@ -321,12 +321,8 @@ static void motionpaths_calc_bake_targets(Scene *scene, ListBase *targets)
* - is inclusive of the first frame, but not the last otherwise we get buffer overruns
*/
if ((CFRA < mpath->start_frame) || (CFRA >= mpath->end_frame)) {
printf("skipping - out of range - %d (%d, %d)\n", CFRA, mpath->start_frame, mpath->end_frame);
continue;
}
else {
printf("doing %d\n", CFRA);
}
/* get the relevant cache vert to write to */
mpv = mpath->points + (CFRA - mpath->start_frame);