diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-09 10:30:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-09 10:30:26 +0300 |
commit | bdad2c0595948add04cbb30a3118ddb1f2056ca7 (patch) | |
tree | 49f099bd9f0c356ddcd0f510910f731ddfc59535 /source | |
parent | 55ee436618bc99fbf88fc60db222593d84a1bb6f (diff) |
Fix uninitialized var use reading view prefix
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index 2b44ba9ce68..339432c2b77 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -1782,6 +1782,9 @@ static bool seq_proxy_multiview_context_invalid(Sequence *seq, Scene *scene, con BLI_path_abs(path, G.main->name); BKE_scene_multiview_view_prefix_get(scene, path, prefix, &ext); } + else { + prefix[0] = '\0'; + } if (prefix[0] == '\0') return view_id != 0; @@ -2739,6 +2742,9 @@ static ImBuf *seq_render_image_strip(const SeqRenderData *context, Sequence *seq goto monoview_image; } } + else { + prefix[0] = '\0'; + } totviews = BKE_scene_multiview_num_views_get(&context->scene->r); ibufs_arr = MEM_callocN(sizeof(ImBuf *) * totviews, "Sequence Image Views Imbufs"); |