Blender  V3.3
Functions
object_update.c File Reference
#include "DNA_anim_types.h"
#include "DNA_collection_types.h"
#include "DNA_constraint_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_key_types.h"
#include "DNA_material_types.h"
#include "DNA_mesh_types.h"
#include "DNA_modifier_types.h"
#include "DNA_scene_types.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_threads.h"
#include "BLI_utildefines.h"
#include "BKE_DerivedMesh.h"
#include "BKE_action.h"
#include "BKE_armature.h"
#include "BKE_constraint.h"
#include "BKE_curve.h"
#include "BKE_curves.h"
#include "BKE_displist.h"
#include "BKE_editmesh.h"
#include "BKE_effect.h"
#include "BKE_gpencil.h"
#include "BKE_gpencil_modifier.h"
#include "BKE_image.h"
#include "BKE_key.h"
#include "BKE_lattice.h"
#include "BKE_layer.h"
#include "BKE_light.h"
#include "BKE_material.h"
#include "BKE_mball.h"
#include "BKE_mesh.h"
#include "BKE_object.h"
#include "BKE_particle.h"
#include "BKE_pointcache.h"
#include "BKE_pointcloud.h"
#include "BKE_scene.h"
#include "BKE_volume.h"
#include "MEM_guardedalloc.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"

Go to the source code of this file.

Functions

void BKE_object_eval_reset (Object *ob_eval)
 
void BKE_object_eval_local_transform (Depsgraph *depsgraph, Object *ob)
 
void BKE_object_eval_parent (Depsgraph *depsgraph, Object *ob)
 
void BKE_object_eval_constraints (Depsgraph *depsgraph, Scene *scene, Object *ob)
 
void BKE_object_eval_transform_final (Depsgraph *depsgraph, Object *ob)
 
void BKE_object_handle_data_update (Depsgraph *depsgraph, Scene *scene, Object *ob)
 
static void object_sync_boundbox_to_original (Object *object_orig, Object *object_eval)
 
void BKE_object_sync_to_original (Depsgraph *depsgraph, Object *object)
 
void BKE_object_eval_uber_transform (Depsgraph *UNUSED(depsgraph), Object *UNUSED(object))
 
void BKE_object_data_batch_cache_dirty_tag (ID *object_data)
 
void BKE_object_batch_cache_dirty_tag (Object *ob)
 
void BKE_object_eval_uber_data (Depsgraph *depsgraph, Scene *scene, Object *ob)
 
void BKE_object_eval_ptcache_reset (Depsgraph *depsgraph, Scene *scene, Object *object)
 
void BKE_object_eval_transform_all (Depsgraph *depsgraph, Scene *scene, Object *object)
 
void BKE_object_data_select_update (Depsgraph *depsgraph, ID *object_data)
 
void BKE_object_select_update (Depsgraph *depsgraph, Object *object)
 
void BKE_object_eval_eval_base_flags (Depsgraph *depsgraph, Scene *scene, const int view_layer_index, Object *object, int base_index, const bool is_from_set)
 

Function Documentation

◆ BKE_object_batch_cache_dirty_tag()

void BKE_object_batch_cache_dirty_tag ( Object ob)

◆ BKE_object_data_batch_cache_dirty_tag()

void BKE_object_data_batch_cache_dirty_tag ( ID object_data)

◆ BKE_object_data_select_update()

void BKE_object_data_select_update ( Depsgraph depsgraph,
ID object_data 
)

◆ BKE_object_eval_constraints()

void BKE_object_eval_constraints ( Depsgraph depsgraph,
Scene scene,
Object ob 
)

◆ BKE_object_eval_eval_base_flags()

void BKE_object_eval_eval_base_flags ( Depsgraph depsgraph,
Scene scene,
const int  view_layer_index,
Object object,
int  base_index,
const bool  is_from_set 
)

◆ BKE_object_eval_local_transform()

void BKE_object_eval_local_transform ( Depsgraph depsgraph,
Object ob 
)

◆ BKE_object_eval_parent()

void BKE_object_eval_parent ( Depsgraph depsgraph,
Object ob 
)

◆ BKE_object_eval_ptcache_reset()

void BKE_object_eval_ptcache_reset ( Depsgraph depsgraph,
Scene scene,
Object object 
)

◆ BKE_object_eval_reset()

void BKE_object_eval_reset ( struct Object ob_eval)

Restore the object->data to a non-modifier evaluated state.

Some changes done directly in evaluated object require them to be reset before being re-evaluated. For example, we need to call this before BKE_mesh_new_from_object(), in case we removed/added modifiers in the evaluated object.

Definition at line 54 of file object_update.c.

References BKE_object_free_derived_caches().

Referenced by bake(), and object_force_modifier_update_for_bind().

◆ BKE_object_eval_transform_all()

void BKE_object_eval_transform_all ( Depsgraph depsgraph,
Scene scene,
Object object 
)

◆ BKE_object_eval_transform_final()

void BKE_object_eval_transform_final ( Depsgraph depsgraph,
Object ob 
)

◆ BKE_object_eval_uber_data()

void BKE_object_eval_uber_data ( Depsgraph depsgraph,
Scene scene,
Object ob 
)

◆ BKE_object_eval_uber_transform()

void BKE_object_eval_uber_transform ( Depsgraph UNUSEDdepsgraph,
Object UNUSEDobject 
)

Definition at line 284 of file object_update.c.

Referenced by BKE_object_eval_transform_all().

◆ BKE_object_handle_data_update()

void BKE_object_handle_data_update ( Depsgraph depsgraph,
Scene scene,
Object ob 
)

Definition at line 135 of file object_update.c.

References BKE_curves_data_update(), BKE_displist_make_curveTypes(), BKE_displist_make_mball(), BKE_gpencil_modifiers_calc(), BKE_gpencil_prepare_eval_data(), BKE_gpencil_update_layer_transforms(), BKE_lattice_modifiers_calc(), BKE_pointcloud_data_update(), BKE_pose_where_is(), BKE_volume_data_update(), BLI_remlink(), CD_MASK_BAREMESH, CD_MASK_FREESTYLE_EDGE, CD_MASK_FREESTYLE_FACE, CD_MASK_MDEFORMVERT, CD_MASK_MLOOPUV, CD_MASK_NORMAL, CD_MASK_ORCO, CD_MASK_PROP_ALL, CD_MASK_PROP_BYTE_COLOR, CD_MASK_PROP_COLOR, Scene::customdata_mask, CustomData_MeshMasks_update(), DAG_EVAL_RENDER, DEG_debug_print_eval(), DEG_get_mode(), depsgraph, ParticleSettings::draw_as, CustomData_MeshMasks::emask, ListBase::first, ParticleSystem::flag, CustomData_MeshMasks::fmask, Object::id, ParticleSettings::instance_collection, ParticleSettings::instance_object, CustomData_MeshMasks::lmask, makeDerivedMesh(), Object::mode, ID::name, ParticleSystem::next, OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_DUPLIPARTS, OB_FONT, OB_GPENCIL, OB_LATTICE, OB_MBALL, OB_MESH, OB_MODE_EDIT, OB_POINTCLOUD, OB_SURF, OB_VOLUME, ParticleSystem::part, PART_DRAW_GR, PART_DRAW_OB, PART_DRAW_REND, particle_system_update(), Object::particlesystem, CustomData_MeshMasks::pmask, psys_check_enabled(), PSYS_DELETE, psys_free(), ParticleSettings::ren_as, scene, Object::transflag, Object::type, and CustomData_MeshMasks::vmask.

Referenced by bake(), BKE_object_eval_uber_data(), and BKE_object_handle_update_ex().

◆ BKE_object_select_update()

void BKE_object_select_update ( Depsgraph depsgraph,
Object object 
)

◆ BKE_object_sync_to_original()

void BKE_object_sync_to_original ( Depsgraph depsgraph,
Object object 
)

◆ object_sync_boundbox_to_original()

static void object_sync_boundbox_to_original ( Object object_orig,
Object object_eval 
)
static