Blender V4.3
object_update.cc File Reference
#include "DNA_constraint_types.h"
#include "DNA_mesh_types.h"
#include "DNA_modifier_types.h"
#include "DNA_scene_types.h"
#include "BLI_blenlib.h"
#include "BLI_math_matrix.h"
#include "BLI_math_vector.h"
#include "BLI_utildefines.h"
#include "BKE_armature.hh"
#include "BKE_constraint.h"
#include "BKE_curve.hh"
#include "BKE_curves.h"
#include "BKE_displist.h"
#include "BKE_editmesh.hh"
#include "BKE_gpencil_legacy.h"
#include "BKE_grease_pencil.h"
#include "BKE_grease_pencil.hh"
#include "BKE_lattice.hh"
#include "BKE_layer.hh"
#include "BKE_mball.hh"
#include "BKE_mesh.hh"
#include "BKE_object.hh"
#include "BKE_object_types.hh"
#include "BKE_particle.h"
#include "BKE_pointcache.h"
#include "BKE_pointcloud.hh"
#include "BKE_scene.hh"
#include "BKE_volume.hh"
#include "MEM_guardedalloc.h"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_light_linking.hh"
#include "DEG_depsgraph_query.hh"

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)
 
void BKE_object_sync_to_original (Depsgraph *depsgraph, Object *object)
 
void BKE_object_eval_uber_transform (Depsgraph *, Object *)
 
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)
 
void BKE_object_eval_light_linking (Depsgraph *depsgraph, Object *object)
 
void BKE_object_eval_shading (Depsgraph *depsgraph, Object *object)
 

Function Documentation

◆ BKE_object_batch_cache_dirty_tag()

◆ BKE_object_data_select_update()

◆ BKE_object_eval_constraints()

◆ BKE_object_eval_eval_base_flags()

◆ BKE_object_eval_light_linking()

void BKE_object_eval_light_linking ( Depsgraph * depsgraph,
Object * object )

Definition at line 425 of file object_update.cc.

References DEG_debug_print_eval(), and depsgraph.

◆ BKE_object_eval_local_transform()

void BKE_object_eval_local_transform ( Depsgraph * depsgraph,
Object * ob )

◆ BKE_object_eval_parent()

◆ 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 ( 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 48 of file object_update.cc.

References BKE_object_free_derived_caches().

Referenced by blender::ed::object::bake(), and blender::ed::object::object_force_modifier_update_for_bind().

◆ BKE_object_eval_shading()

void BKE_object_eval_shading ( Depsgraph * depsgraph,
Object * object )

Definition at line 431 of file object_update.cc.

References DEG_debug_print_eval(), DEG_get_update_count(), and depsgraph.

◆ BKE_object_eval_transform_all()

◆ 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 * depsgraph,
Object * object )

Definition at line 260 of file object_update.cc.

Referenced by BKE_object_eval_transform_all().

◆ BKE_object_handle_data_update()

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

◆ BKE_object_select_update()

void BKE_object_select_update ( Depsgraph * depsgraph,
Object * object )

◆ BKE_object_sync_to_original()