Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-04-03 19:22:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-04-03 19:22:52 +0300
commitcd6daea7d32d306a427e97427cb135d1589cc309 (patch)
treedf13b976c1a0eb2574b4d693d4d2cde03e896186 /source/blender/alembic
parent48eaddfae0f7f86d58b4fc0a8a49e2a63dd51fc9 (diff)
Missed in last merge
Diffstat (limited to 'source/blender/alembic')
-rw-r--r--source/blender/alembic/intern/alembic_capi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/alembic_capi.cc b/source/blender/alembic/intern/alembic_capi.cc
index 5e93779b5f6..3221ebe7778 100644
--- a/source/blender/alembic/intern/alembic_capi.cc
+++ b/source/blender/alembic/intern/alembic_capi.cc
@@ -843,7 +843,7 @@ static void import_endjob(void *user_data)
lc = BKE_layer_collection_get_active(view_layer);
if (lc == NULL) {
- BLI_assert(BLI_listbase_count_ex(&view_layer->layer_collections, 1) == 0);
+ BLI_assert(BLI_listbase_count_at_most(&view_layer->layer_collections, 1) == 0);
/* when there is no collection linked to this ViewLayer, create one */
SceneCollection *sc = BKE_collection_add(&data->scene->id, NULL, COLLECTION_TYPE_NONE, NULL);
lc = BKE_collection_link(view_layer, sc);