forked from bartvdbraak/blender
Changed sync difference time of sound strips to 0.5 seconds instead of 1 frame. Maybe this should be a user preference setting?
This commit is contained in:
parent
8b18843b98
commit
87929332c7
@ -376,7 +376,7 @@ void sound_update_playing(struct bContext *C)
|
||||
float diff = AUD_getPosition(handle->handle) * fps - cfra + handle->startframe;
|
||||
if(diff < 0.0)
|
||||
diff = -diff;
|
||||
if(diff > 1.0f)
|
||||
if(diff > FPS/2.0)
|
||||
{
|
||||
action = 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user