Code cleanup

Thanks for Sergey Sharybin for spotting this.
This commit is contained in:
Dalai Felinto 2017-12-08 12:00:00 -02:00
parent 6e85c59250
commit 0d4ab09da7
1 changed files with 0 additions and 1 deletions

View File

@ -80,7 +80,6 @@ void BKE_group_init(Group *group)
{
group->collection = MEM_callocN(sizeof(SceneCollection), __func__);
BLI_strncpy(group->collection->name, "Master Collection", sizeof(group->collection->name));
group->view_layer = NULL; /* groups are not calloced. */
group->view_layer = BKE_view_layer_group_add(group);
/* Unlink the master collection. */