diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-22 22:30:24 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-22 22:36:30 +0300 |
commit | 967364dc3eb7ee2b2ce3d12b27414e1414014d75 (patch) | |
tree | cff361e0b1852bccfadb55e8d7d34c053bc456ec /source | |
parent | ac643aa8815e70f2f5fac7b8ecc28153aa11da56 (diff) |
Cleanup: fix compiler warning.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/collada/collada_utils.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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); |