diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-03 19:22:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-03 19:22:05 +0300 |
commit | 48eaddfae0f7f86d58b4fc0a8a49e2a63dd51fc9 (patch) | |
tree | 6cf9cb00e8041d91c98f282f97ddc4059564c148 /source/blender/blenloader/intern | |
parent | e52beb373323122f6d706e887a8ee3e2c58beb2e (diff) |
Missed in last merge
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/versioning_280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c index 46021a8b502..50b7f736a67 100644 --- a/source/blender/blenloader/intern/versioning_280.c +++ b/source/blender/blenloader/intern/versioning_280.c @@ -505,7 +505,7 @@ void do_versions_after_linking_280(Main *main) soutliner->outlinevis = SO_VIEW_LAYER; - if (BLI_listbase_count_ex(&layer->layer_collections, 2) == 1) { + if (BLI_listbase_count_at_most(&layer->layer_collections, 2) == 1) { if (soutliner->treestore == NULL) { soutliner->treestore = BLI_mempool_create( sizeof(TreeStoreElem), 1, 512, BLI_MEMPOOL_ALLOW_ITER); |