Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/object/object_modifier.c
| Show First 20 Lines • Show All 507 Lines • ▼ Show 20 Lines | for (; md_index > index; md_index--) { | ||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| return true; | return true; | ||||
| } | } | ||||
| void ED_object_modifier_link(bContext *C, Object *ob_dst, Object *ob_src) | |||||
| { | |||||
| BKE_object_link_modifiers(ob_dst, ob_src); | |||||
| WM_event_add_notifier(C, NC_OBJECT | ND_MODIFIER, ob_dst); | |||||
| DEG_id_tag_update(&ob_dst->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY | ID_RECALC_ANIMATION); | |||||
| } | |||||
| int ED_object_modifier_convert(ReportList *UNUSED(reports), | int ED_object_modifier_convert(ReportList *UNUSED(reports), | ||||
| Main *bmain, | Main *bmain, | ||||
| Depsgraph *depsgraph, | Depsgraph *depsgraph, | ||||
| Scene *scene, | Scene *scene, | ||||
| ViewLayer *view_layer, | ViewLayer *view_layer, | ||||
| Object *ob, | Object *ob, | ||||
| ModifierData *md) | ModifierData *md) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 2,506 Lines • Show Last 20 Lines | |||||