Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/object_update.c
| Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | |||||
| /** | /** | ||||
| * Restore the object->data to a non-modifier evaluated state. | * Restore the object->data to a non-modifier evaluated state. | ||||
| * | * | ||||
| * Some changes done directly in evaluated object require them to be reset | * Some changes done directly in evaluated object require them to be reset | ||||
| * before being re-evaluated. | * before being re-evaluated. | ||||
| * For example, we need to call this before BKE_mesh_new_from_object(), | * For example, we need to call this before BKE_mesh_new_from_object(), | ||||
| * in case we removed/added modifiers in the evaluated object. | * in case we removed/added modifiers in the evaluated object. | ||||
| **/ | */ | ||||
| void BKE_object_eval_reset(Object *ob_eval) | void BKE_object_eval_reset(Object *ob_eval) | ||||
| { | { | ||||
| BKE_object_free_derived_caches(ob_eval); | BKE_object_free_derived_caches(ob_eval); | ||||
| } | } | ||||
| void BKE_object_eval_local_transform(Depsgraph *depsgraph, Object *ob) | void BKE_object_eval_local_transform(Depsgraph *depsgraph, Object *ob) | ||||
| { | { | ||||
| DEG_debug_print_eval(depsgraph, __func__, ob->id.name, ob); | DEG_debug_print_eval(depsgraph, __func__, ob->id.name, ob); | ||||
| ▲ Show 20 Lines • Show All 387 Lines • Show Last 20 Lines | |||||