Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_files_link.c
| Show First 20 Lines • Show All 252 Lines • ▼ Show 20 Lines | BKE_reportf(op->reports, | ||||
| scene->id.name + 2); | scene->id.name + 2); | ||||
| flag &= ~(BLO_LIBLINK_COLLECTION_INSTANCE | BLO_LIBLINK_OBDATA_INSTANCE); | flag &= ~(BLO_LIBLINK_COLLECTION_INSTANCE | BLO_LIBLINK_OBDATA_INSTANCE); | ||||
| scene = NULL; | scene = NULL; | ||||
| } | } | ||||
| /* from here down, no error returns */ | /* from here down, no error returns */ | ||||
| if (view_layer && RNA_boolean_get(op->ptr, "autoselect")) { | if (view_layer && RNA_boolean_get(op->ptr, "autoselect")) { | ||||
| BKE_view_layer_base_deselect_all(view_layer); | BKE_view_layer_base_deselect_all(scene, view_layer); | ||||
| } | } | ||||
| /* tag everything, all untagged data can be made local | /* tag everything, all untagged data can be made local | ||||
| * its also generally useful to know what is new | * its also generally useful to know what is new | ||||
| * | * | ||||
| * take extra care BKE_main_id_flag_all(bmain, LIB_TAG_PRE_EXISTING, false) is called after! */ | * take extra care BKE_main_id_flag_all(bmain, LIB_TAG_PRE_EXISTING, false) is called after! */ | ||||
| BKE_main_id_tag_all(bmain, LIB_TAG_PRE_EXISTING, true); | BKE_main_id_tag_all(bmain, LIB_TAG_PRE_EXISTING, true); | ||||
| ▲ Show 20 Lines • Show All 582 Lines • Show Last 20 Lines | |||||