Blender V4.5
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_listbase.h"
#include "BLI_math_matrix.h"
#include "BLI_math_vector.h"
#include "BLI_string.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_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 )

◆ 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 47 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 )

◆ 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 259 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 )

Definition at line 129 of file object_update.cc.

References BKE_curves_data_update(), BKE_displist_make_curveTypes(), BKE_lattice_modifiers_calc(), BKE_mball_data_update(), BKE_object_eval_grease_pencil(), BKE_object_evaluated_geometry_bounds(), 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_ORCO, CD_MASK_PROP_ALL, Scene::customdata_mask, CustomData_MeshMasks_update(), DAG_EVAL_RENDER, DEG_debug_print_eval(), DEG_get_mode(), DEG_get_original(), DEG_is_active(), 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, blender::bke::mesh_data_update(), Object::mode, ID::name, ParticleSystem::next, OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_DUPLIPARTS, OB_FONT, OB_GREASE_PENCIL, 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, Object::runtime, Object::transflag, Object::type, and CustomData_MeshMasks::vmask.

Referenced by blender::ed::object::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()