Cleanup: fix compiler warning.

This commit is contained in:
Brecht Van Lommel 2019-03-22 20:30:24 +01:00
parent ac643aa881
commit 967364dc3e
1 changed files with 0 additions and 1 deletions

View File

@ -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);