Blender
V3.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 | |
Object_Runtime | runtime |
short | base_flag |
unsigned short | base_local_view_bits |
Map< SessionUUID, ModifierDataBackup > | modifier_runtime_data |
Map< SessionUUID, bPoseChannel_Runtime > | pose_channel_runtime_data |
Definition at line 24 of file deg_eval_runtime_backup_object.h.
blender::deg::ObjectRuntimeBackup::ObjectRuntimeBackup | ( | const Depsgraph * | depsgraph | ) |
Definition at line 21 of file deg_eval_runtime_backup_object.cc.
References runtime.
Definition at line 48 of file deg_eval_runtime_backup_object.cc.
References BLI_assert, BLI_session_uuid_is_generated(), LISTBASE_FOREACH, modifier_runtime_data, and Object::modifiers.
Referenced by init_from_object().
Definition at line 63 of file deg_eval_runtime_backup_object.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_pose_channel_runtime_reset(), BLI_assert, BLI_session_uuid_is_generated(), bPose::chanbase, LISTBASE_FOREACH, Object::pose, and pose_channel_runtime_data.
Referenced by init_from_object().
Definition at line 28 of file deg_eval_runtime_backup_object.cc.
References backup_modifier_runtime_data(), backup_pose_channel_runtime_data(), base_flag, base_local_view_bits, Object_Runtime::bb, BKE_object_runtime_reset(), Object_Runtime::data_orig, and runtime.
Referenced by blender::deg::RuntimeBackup::init_from_id().
Definition at line 133 of file deg_eval_runtime_backup_object.cc.
References backup, BKE_modifier_get_info(), BLI_assert, BLI_session_uuid_is_generated(), ModifierTypeInfo::freeRuntimeData, LISTBASE_FOREACH, modifier_runtime_data, and Object::modifiers.
Referenced by restore_to_object().
Definition at line 152 of file deg_eval_runtime_backup_object.cc.
References BKE_pose_channel_runtime_free(), bPose::chanbase, LISTBASE_FOREACH, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::pop_try(), Object::pose, pose_channel_runtime_data, runtime, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by restore_to_object().
Definition at line 76 of file deg_eval_runtime_backup_object.cc.
References base_flag, base_local_view_bits, BKE_object_free_derived_caches(), Object::data, Object_Runtime::data_eval, Object_Runtime::data_orig, Mesh::edit_mesh, ELEM, GS, Object::id, ID_RECALC_GEOMETRY, ID::name, OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_LATTICE, OB_MESH, OB_POINTCLOUD, OB_VOLUME, ID::recalc, restore_modifier_runtime_data(), restore_pose_channel_runtime_data(), runtime, ID::runtime, and Object::type.
Referenced by blender::deg::RuntimeBackup::restore_to_id().
short blender::deg::ObjectRuntimeBackup::base_flag |
Definition at line 42 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), and restore_to_object().
unsigned short blender::deg::ObjectRuntimeBackup::base_local_view_bits |
Definition at line 43 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), and restore_to_object().
Map<SessionUUID, ModifierDataBackup> blender::deg::ObjectRuntimeBackup::modifier_runtime_data |
Definition at line 44 of file deg_eval_runtime_backup_object.h.
Referenced by backup_modifier_runtime_data(), and restore_modifier_runtime_data().
Map<SessionUUID, bPoseChannel_Runtime> blender::deg::ObjectRuntimeBackup::pose_channel_runtime_data |
Definition at line 45 of file deg_eval_runtime_backup_object.h.
Referenced by backup_pose_channel_runtime_data(), and restore_pose_channel_runtime_data().
Object_Runtime blender::deg::ObjectRuntimeBackup::runtime |
Definition at line 41 of file deg_eval_runtime_backup_object.h.
Referenced by init_from_object(), ObjectRuntimeBackup(), restore_pose_channel_runtime_data(), and restore_to_object().