Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/object/object_transform.c
| Show First 20 Lines • Show All 1,210 Lines • ▼ Show 20 Lines | #endif | ||||
| //CTX_DATA_END; | //CTX_DATA_END; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| BLI_freelistN(&ctx_data_list); | BLI_freelistN(&ctx_data_list); | ||||
| for (tob = bmain->object.first; tob; tob = tob->id.next) { | for (tob = bmain->object.first; tob; tob = tob->id.next) { | ||||
| if (tob->data && (((ID *)tob->data)->tag & LIB_TAG_DOIT)) { | if (tob->data && (((ID *)tob->data)->tag & LIB_TAG_DOIT)) { | ||||
| BKE_mesh_batch_cache_dirty(tob->data, BKE_MESH_BATCH_DIRTY_ALL); | BKE_object_batch_cache_dirty(tob); | ||||
| DEG_id_tag_update(&tob->id, OB_RECALC_OB | OB_RECALC_DATA); | DEG_id_tag_update(&tob->id, OB_RECALC_OB | OB_RECALC_DATA); | ||||
| } | } | ||||
| } | } | ||||
| if (tot_change) { | if (tot_change) { | ||||
| WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, NULL); | WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, NULL); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 433 Lines • Show Last 20 Lines | |||||