diff options
author | Ton Roosendaal <ton@blender.org> | 2006-06-11 13:06:07 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-06-11 13:06:07 +0400 |
commit | cbf1dc9e211fb7a3fae41b174470e28e9b194806 (patch) | |
tree | d2238e750f8d77f3f8488df6af25408ce8d0875e /source/blender/blenkernel/intern/scene.c | |
parent | b2157d2fff47ab1e1779cb22308b45c4df2d49cf (diff) |
Bugfix #4299
The Scene audio.mixrate variable was zero on creating new scenes, causing
synced playback to fail.
Added initialize in kernel, and patch in buttons drawing to set the value
for wrongly saved files.
(Pixelshading: small correction for more optimal code)
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 6e26f408131..f1b12256dfb 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -226,6 +226,7 @@ Scene *add_scene(char *name) sce->toolsettings->unwrapper = 1; sce->jumpframe = 10; + sce->audio.mixrate = 44100; strcpy(sce->r.backbuf, "//backbuf"); strcpy(sce->r.pic, U.renderdir); |