made sticky UV editing options more accessible by adding them to a popup in the header.
[blender.git] / source / blender / blenloader / intern / readfile.c
index 444deba0e97509603da1f19b9f5603edbf410888..3631ed48a649b8c38f2aa83fe0b03f81fca0622e 100644 (file)
@@ -6101,20 +6101,6 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                                sce->toolsettings->unwrapper = 1;
                        }
 
-                       /* enable uv editor local sticky by default */
-                       for (sc= main->screen.first; sc; sc= sc->id.next) {
-                               ScrArea *sa;
-                               for (sa= sc->areabase.first; sa; sa= sa->next) {
-                                       SpaceLink *sl;
-                                       for (sl= sa->spacedata.first; sl; sl= sl->next) {
-                                               if(sl->spacetype==SPACE_IMAGE) {
-                                                       SpaceImage *sima= (SpaceImage*)sl;
-                                                       if(!(sima->flag & SI_STICKYUVS))
-                                                               sima->flag |= SI_LOCALSTICKY;
-                                               }
-                                       }
-                               }
-                       }
                        if(sce->r.mode & R_PANORAMA) {
                                /* all these checks to ensure saved files with cvs version keep working... */
                                if(sce->r.xsch < sce->r.ysch) {