[Bf-blender-cvs] [0d4ab09da71] blender2.8: Code cleanup
Dalai Felinto
noreply at git.blender.org
Fri Dec 8 15:04:15 CET 2017
Commit: 0d4ab09da71f213083d5ee35efbb3ac0c7e6dd6a
Author: Dalai Felinto
Date: Fri Dec 8 12:00:00 2017 -0200
Branches: blender2.8
https://developer.blender.org/rB0d4ab09da71f213083d5ee35efbb3ac0c7e6dd6a
Code cleanup
Thanks for Sergey Sharybin for spotting this.
===================================================================
M source/blender/blenkernel/intern/group.c
===================================================================
diff --git a/source/blender/blenkernel/intern/group.c b/source/blender/blenkernel/intern/group.c
index 7c2eefe657c..a68111de034 100644
--- a/source/blender/blenkernel/intern/group.c
+++ b/source/blender/blenkernel/intern/group.c
@@ -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. */
More information about the Bf-blender-cvs
mailing list