diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-12-04 09:19:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-12-04 09:20:26 +0300 |
commit | 9dfbd98339984e885c3b48142c97f3b516520e73 (patch) | |
tree | c70bf74f74d728fb3fb9918f1b402682b13f3eeb /source/blender/blenloader/intern/versioning_280.c | |
parent | 1b2f8b27540f6154dc968f216297ab9badccd271 (diff) |
Cleanup: whitespace
Diffstat (limited to 'source/blender/blenloader/intern/versioning_280.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 93fe634fe52..8d56a1c8620 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -219,7 +219,7 @@ void do_versions_after_linking_280(Main *main) if (base->lay & (1 << layer)) { int collection_index = -1; if ((base->object->restrictflag & OB_RESTRICT_VIEW) && - (base->object->restrictflag & OB_RESTRICT_RENDER)) + (base->object->restrictflag & OB_RESTRICT_RENDER)) { collection_index = DO_VERSION_COLLECTION_HIDE_ALL; } @@ -360,7 +360,7 @@ void do_versions_after_linking_280(Main *main) /* Add new collection bases. */ for (int layer = 0; layer < 20; layer++) { if ((scene->lay & srl->lay & ~(srl->lay_exclude) & (1 << layer)) || - (srl->lay_zmask & (scene->lay | srl->lay_exclude) & (1 << layer))) + (srl->lay_zmask & (scene->lay | srl->lay_exclude) & (1 << layer))) { if (collections[DO_VERSION_COLLECTION_VISIBLE].created & (1 << layer)) { @@ -580,14 +580,14 @@ void do_versions_after_linking_280(Main *main) SceneCollection *sc_hidden = NULL; for (GroupObject *go = group->gobject.first; go; go = go->next) { - if (go->ob->lay & group->layer){ + if (go->ob->lay & group->layer) { BKE_collection_object_add(&group->id, sc, go->ob); } else { if (sc_hidden == NULL) { sc_hidden = BKE_collection_add(&group->id, sc, COLLECTION_TYPE_GROUP_INTERNAL, "Hidden"); } - BKE_collection_object_add(&group->id, sc_hidden, go->ob); + BKE_collection_object_add(&group->id, sc_hidden, go->ob); } } |