ipo error kept popping up and lock ipo didnt redraw the sequencer view (note, still not realtime, but at least it redraws now)

This commit is contained in:
2007-10-16 18:04:56 +00:00
parent 8e3b881181
commit 5b755bade2
2 changed files with 7 additions and 2 deletions

View File

@@ -4266,7 +4266,7 @@ void set_speed_editipo(float speed)
EditIpo *ei;
BezTriple *bezt, *beztar[3];
float vec1[3], vec2[3];
int a, b, totvert, didit=0;
int a, b, totvert, didit=0, done_error = 0;
if(G.sipo->ipo && G.sipo->ipo->id.lib) return;
@@ -4315,7 +4315,10 @@ void set_speed_editipo(float speed)
didit= 1;
}
else {
error("Only works for 3 visible curves with handles");
if (done_error==0) {
error("Only works for 3 visible curves with handles");
}
done_error = 1;
}
}
}

View File

@@ -423,6 +423,8 @@ static void viewRedrawForce(TransInfo *t)
force_draw_plus(SPACE_VIEW3D, 0);
else if (G.sipo->blocktype==ID_OB)
force_draw_plus(SPACE_VIEW3D, 0);
else if (G.sipo->blocktype==ID_SEQ)
force_draw_plus(SPACE_SEQ, 0);
else
force_draw(0);
}