From 967364dc3eb7ee2b2ce3d12b27414e1414014d75 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 22 Mar 2019 20:30:24 +0100 Subject: Cleanup: fix compiler warning. --- source/blender/collada/collada_utils.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/collada/collada_utils.cpp') diff --git a/source/blender/collada/collada_utils.cpp b/source/blender/collada/collada_utils.cpp index 7ea345948bb..0084ff84e4d 100644 --- a/source/blender/collada/collada_utils.cpp +++ b/source/blender/collada/collada_utils.cpp @@ -236,7 +236,6 @@ Object *bc_add_object(Main *bmain, Scene *scene, ViewLayer *view_layer, int type Object *ob = BKE_object_add_only_object(bmain, type, name); ob->data = BKE_object_obdata_add_from_type(bmain, type, name); - ob->lay = scene->lay; DEG_id_tag_update(&ob->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY | ID_RECALC_ANIMATION); LayerCollection *layer_collection = BKE_layer_collection_get_active(view_layer); -- cgit v1.2.3