Fix for panorama backwards compatibility not working correct.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 24 Sep 2009 12:15:17 +0000 (12:15 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 24 Sep 2009 12:15:17 +0000 (12:15 +0000)
source/blender/blenloader/intern/readfile.c

index d9db02e630f06b8a6b77f493c3b6e6b3bd5028cb..d26a2a79f059670f0b4645bce32e70a7ac998876 100644 (file)
@@ -9366,7 +9366,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                                strcpy(sce->nodetree->id.name, "NTComposit Nodetree");
 
                        /* move to cameras */
-                       if(sce->r.scemode & R_PANORAMA) {
+                       if(sce->r.mode & R_PANORAMA) {
                                for(base=sce->base.first; base; base=base->next) {
                                        ob= newlibadr(fd, lib, base->object);
 
@@ -9376,7 +9376,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                                        }
                                }
 
-                               sce->r.scemode &= ~R_PANORAMA;
+                               sce->r.mode &= ~R_PANORAMA;
                        }
                }
                /* and texture trees */