Fix T38319: no camera error message for render not showing correctly.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 22 Jan 2014 16:40:10 +0000 (17:40 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 22 Jan 2014 16:45:29 +0000 (17:45 +0100)
source/blender/render/intern/source/pipeline.c

index 5df923c4ac716fa89bb9e3eb128e58b9aff8e575..0577ee60842dc526d8f6b7d4285c523e0650e474 100644 (file)
@@ -2335,7 +2335,7 @@ static int check_valid_camera(Scene *scene, Object *camera_override, ReportList
        if (camera_override == NULL && scene->camera == NULL)
                scene->camera = BKE_scene_camera_find(scene);
 
-       if (scene->r.scemode & R_DOSEQ) {
+       if (RE_seq_render_active(scene, &scene->r)) {
                if (scene->ed) {
                        Sequence *seq = scene->ed->seqbase.first;