diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-16 22:04:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-16 22:04:56 +0400 |
commit | 5b755bade20d154e2bc8c563b31259e303f1005c (patch) | |
tree | f533cd0257ecd1e458e27d5a20b25e5dc09b0815 /source/blender/src/editipo.c | |
parent | 8e3b8811813426844b080da38b4551e91c6b808e (diff) |
ipo error kept popping up and lock ipo didnt redraw the sequencer view (note, still not realtime, but at least it redraws now)
Diffstat (limited to 'source/blender/src/editipo.c')
-rw-r--r-- | source/blender/src/editipo.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index b329bfcce76..2e35fd1581f 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -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; } } } |