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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user