Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_260.c
| Show First 20 Lines • Show All 2,259 Lines • ▼ Show 20 Lines | if (!MAIN_VERSION_ATLEAST(main, 269, 3)) { | ||||
| for (sc = main->screen.first; sc; sc = sc->id.next) { | for (sc = main->screen.first; sc; sc = sc->id.next) { | ||||
| for (sa = sc->areabase.first; sa; sa = sa->next) { | for (sa = sc->areabase.first; sa; sa = sa->next) { | ||||
| for (sl = sa->spacedata.first; sl; sl = sl->next) { | for (sl = sa->spacedata.first; sl; sl = sl->next) { | ||||
| if (sl->spacetype == SPACE_OUTLINER) { | if (sl->spacetype == SPACE_OUTLINER) { | ||||
| SpaceOops *so = (SpaceOops *)sl; | SpaceOops *so = (SpaceOops *)sl; | ||||
| if (!ELEM(so->outlinevis, | if (!ELEM(so->outlinevis, | ||||
| SO_SCENES, | SO_SCENES, | ||||
| SO_GROUPS, | |||||
| SO_LIBRARIES, | SO_LIBRARIES, | ||||
| SO_SEQUENCE, | SO_SEQUENCE, | ||||
| SO_DATABLOCKS)) | SO_DATABLOCKS)) | ||||
| { | { | ||||
| so->outlinevis = SO_SCENES; | so->outlinevis = SO_SCENES; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 217 Lines • Show Last 20 Lines | |||||