hack, we need a way not to switch some cameras quickly.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 8 Feb 2010 19:52:34 +0000 (19:52 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 8 Feb 2010 19:52:34 +0000 (19:52 +0000)
source/blender/blenkernel/intern/scene.c

index 780ded2a94182fb8c01ffd64898407cc6d52b288..4624fbe40dc846762b3bc1a8698507535eb068e4 100644 (file)
@@ -726,7 +726,7 @@ Object *scene_find_camera_switch(Scene *scene)
        Object *camera= NULL;
 
        for (m= scene->markers.first; m; m= m->next) {
-               if(m->camera && (m->frame <= cfra) && (m->frame > frame)) {
+               if(m->camera && (m->camera->restrictflag & OB_RESTRICT_RENDER)==0 && (m->frame <= cfra) && (m->frame > frame)) {
                        camera= m->camera;
                        frame= m->frame;