Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_290.c
| Show First 20 Lines • Show All 1,175 Lines • ▼ Show 20 Lines | LISTBASE_FOREACH (bScreen *, screen, &bmain->screens) { | ||||
| if (space_outliner->filter_state == SO_FILTER_OB_HIDDEN) { | if (space_outliner->filter_state == SO_FILTER_OB_HIDDEN) { | ||||
| space_outliner->filter_state = SO_FILTER_OB_VISIBLE; | space_outliner->filter_state = SO_FILTER_OB_VISIBLE; | ||||
| space_outliner->filter |= SO_FILTER_OB_STATE_INVERSE; | space_outliner->filter |= SO_FILTER_OB_STATE_INVERSE; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| if (!DNA_struct_find(fd->filesdna, "NodeSetAlpha")) { | |||||
| LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) { | |||||
| bNodeTree *nodetree = scene->nodetree; | |||||
| if (nodetree == NULL) { | |||||
| continue; | |||||
| } | |||||
| LISTBASE_FOREACH (bNode *, node, &nodetree->nodes) { | |||||
| if (node->type != CMP_NODE_SETALPHA) { | |||||
| continue; | |||||
| } | |||||
| NodeSetAlpha *storage = MEM_callocN(sizeof(NodeSetAlpha), "NodeSetAlpha"); | |||||
| storage->mode = CMP_NODE_SETALPHA_MODE_REPLACE; | |||||
| node->storage = storage; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | } | ||||
| } | } | ||||