|
Blender V5.3
|
#include <deg_eval_runtime_backup_object.h>
Public Member Functions | |
| ObjectRuntimeBackup (const Depsgraph *depsgraph) | |
| void | init_from_object (Object *object) |
| void | backup_modifier_runtime_data (Object *object) |
| void | backup_pose_channel_runtime_data (Object *object) |
| void | restore_to_object (Object *object) |
| void | restore_modifier_runtime_data (Object *object) |
| void | restore_pose_channel_runtime_data (Object *object) |
Public Attributes | |
| bke::ObjectRuntime | runtime |
| std::optional< LightLinkingRuntime > | light_linking_runtime |
| short | base_flag |
| unsigned short | base_local_view_bits |
| Map< int, ModifierDataBackup > | modifier_runtime_data |
| Map< SessionUID, bPoseChannel_Runtime > | pose_channel_runtime_data |
Definition at line 30 of file deg_eval_runtime_backup_object.h.
| blender::deg::ObjectRuntimeBackup::ObjectRuntimeBackup | ( | const Depsgraph * | depsgraph | ) |
Definition at line 28 of file deg_eval_runtime_backup_object.cc.
References base_flag, base_local_view_bits, and runtime.
| void blender::deg::ObjectRuntimeBackup::backup_modifier_runtime_data | ( | Object * | object | ) |
Definition at line 58 of file deg_eval_runtime_backup_object.cc.
References modifier_runtime_data, blender::ModifierData::persistent_uid, and blender::ModifierData::runtime.
Referenced by init_from_object().
| void blender::deg::ObjectRuntimeBackup::backup_pose_channel_runtime_data | ( | Object * | object | ) |
Definition at line 70 of file deg_eval_runtime_backup_object.cc.
References blender::BKE_pose_channel_runtime_reset(), blender::BLI_assert(), pose_channel_runtime_data, blender::bPoseChannel::runtime, and blender::bPoseChannel_Runtime::session_uid.
Referenced by init_from_object().
| void blender::deg::ObjectRuntimeBackup::init_from_object | ( | Object * | object | ) |
Definition at line 35 of file deg_eval_runtime_backup_object.cc.
References backup_modifier_runtime_data(), backup_pose_channel_runtime_data(), base_flag, base_local_view_bits, blender::BKE_object_runtime_reset(), blender::bke::ObjectRuntime::bounds_eval, blender::bke::ObjectRuntime::data_orig, light_linking_runtime, and runtime.
Referenced by blender::deg::RuntimeBackup::init_from_id().
| void blender::deg::ObjectRuntimeBackup::restore_modifier_runtime_data | ( | Object * | object | ) |
Definition at line 150 of file deg_eval_runtime_backup_object.cc.
References blender::BKE_modifier_get_info(), blender::BLI_assert(), blender::eModifierType_Subsurf, blender::ModifierTypeInfo::free_runtime_data, modifier_runtime_data, blender::OB_MESH, blender::ModifierData::persistent_uid, and blender::ModifierData::runtime.
Referenced by restore_to_object().
| void blender::deg::ObjectRuntimeBackup::restore_pose_channel_runtime_data | ( | Object * | object | ) |
Definition at line 176 of file deg_eval_runtime_backup_object.cc.
References blender::BKE_pose_channel_runtime_free(), pose_channel_runtime_data, blender::bPoseChannel::runtime, runtime, and blender::bPoseChannel_Runtime::session_uid.
Referenced by restore_to_object().
| void blender::deg::ObjectRuntimeBackup::restore_to_object | ( | Object * | object | ) |
Definition at line 83 of file deg_eval_runtime_backup_object.cc.
References base_flag, base_local_view_bits, blender::BKE_light_linking_ensure(), blender::BKE_object_free_derived_caches(), blender::bke::ObjectRuntime::data_eval, blender::bke::ObjectRuntime::data_orig, blender::bke::MeshRuntime::edit_mesh, ELEM, blender::GS(), blender::ID_RECALC_GEOMETRY, light_linking_runtime, blender::ID::name, blender::OB_CURVES, blender::OB_CURVES_LEGACY, blender::OB_FONT, blender::OB_GREASE_PENCIL, blender::OB_LATTICE, blender::OB_MESH, blender::OB_POINTCLOUD, blender::OB_VOLUME, restore_modifier_runtime_data(), restore_pose_channel_runtime_data(), runtime, blender::ID::runtime, and blender::Mesh::runtime.
Referenced by blender::deg::RuntimeBackup::restore_to_id().
| short blender::deg::ObjectRuntimeBackup::base_flag |
Definition at line 49 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), ObjectRuntimeBackup(), and restore_to_object().
| unsigned short blender::deg::ObjectRuntimeBackup::base_local_view_bits |
Definition at line 50 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), ObjectRuntimeBackup(), and restore_to_object().
| std::optional<LightLinkingRuntime> blender::deg::ObjectRuntimeBackup::light_linking_runtime |
Definition at line 48 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), and restore_to_object().
| Map<int, ModifierDataBackup> blender::deg::ObjectRuntimeBackup::modifier_runtime_data |
Definition at line 51 of file deg_eval_runtime_backup_object.h.
Referenced by backup_modifier_runtime_data(), and restore_modifier_runtime_data().
| Map<SessionUID, bPoseChannel_Runtime> blender::deg::ObjectRuntimeBackup::pose_channel_runtime_data |
Definition at line 52 of file deg_eval_runtime_backup_object.h.
Referenced by backup_pose_channel_runtime_data(), and restore_pose_channel_runtime_data().
| bke::ObjectRuntime blender::deg::ObjectRuntimeBackup::runtime |
Definition at line 47 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), ObjectRuntimeBackup(), restore_pose_channel_runtime_data(), and restore_to_object().