Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_defaults.c
| Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | else if (area->spacetype == SPACE_ACTION) { | ||||
| saction->ads.flag |= ADS_FLAG_SUMMARY_COLLAPSED; | saction->ads.flag |= ADS_FLAG_SUMMARY_COLLAPSED; | ||||
| LISTBASE_FOREACH (ARegion *, region, &area->regionbase) { | LISTBASE_FOREACH (ARegion *, region, &area->regionbase) { | ||||
| if (region->regiontype == RGN_TYPE_CHANNELS) { | if (region->regiontype == RGN_TYPE_CHANNELS) { | ||||
| region->flag |= RGN_FLAG_HIDDEN; | region->flag |= RGN_FLAG_HIDDEN; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| else { | |||||
| /* Open properties panel by default. */ | |||||
sybren: end with period | |||||
| LISTBASE_FOREACH (ARegion *, region, &area->regionbase) { | |||||
| if (region->regiontype == RGN_TYPE_UI) { | |||||
| region->flag &= ~RGN_FLAG_HIDDEN; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | } | ||||
| else if (area->spacetype == SPACE_GRAPH) { | else if (area->spacetype == SPACE_GRAPH) { | ||||
| SpaceGraph *sipo = area->spacedata.first; | SpaceGraph *sipo = area->spacedata.first; | ||||
| sipo->flag |= SIPO_SHOW_MARKERS; | sipo->flag |= SIPO_SHOW_MARKERS; | ||||
| } | } | ||||
| else if (area->spacetype == SPACE_NLA) { | else if (area->spacetype == SPACE_NLA) { | ||||
| SpaceNla *snla = area->spacedata.first; | SpaceNla *snla = area->spacedata.first; | ||||
| snla->flag |= SNLA_SHOW_MARKERS; | snla->flag |= SNLA_SHOW_MARKERS; | ||||
| ▲ Show 20 Lines • Show All 602 Lines • Show Last 20 Lines | |||||
end with period