Fix various Freestyle rendering bugs.

This commit is contained in:
2018-11-04 22:34:20 +01:00
parent 287c023b85
commit 4e37796976
4 changed files with 10 additions and 6 deletions

View File

@@ -669,6 +669,10 @@ static int layer_collection_sync(
/* Sync objects, except if collection was excluded. */
for (CollectionObject *cob = collection->gobject.first; cob; cob = cob->next) {
if (cob->ob == NULL) {
continue;
}
Base *base = BLI_ghash_lookup(view_layer->object_bases_hash, cob->ob);
if (base) {