39 if (
object->light_linking) {
61 if (modifier_data.
runtime ==
nullptr) {
66 modifier_data.
runtime =
nullptr;
72 if (
object->pose !=
nullptr) {
85 ID *data_orig =
object->
runtime->data_orig;
87 std::optional<Bounds<float3>>
bounds =
object->runtime->bounds_eval;
88 SculptSession *sculpt_session =
object->runtime->sculpt_session;
92 object->runtime->sculpt_session = sculpt_session;
101 object->data = data_orig;
110 object->data = data_eval;
117 Mesh *mesh_eval = id_cast<Mesh *>(data_eval);
118 Mesh *mesh_orig = id_cast<Mesh *>(data_orig);
126 object->data = data_orig;
130 object->data =
object->runtime->data_eval;
155 if (backup.has_value()) {
156 modifier_data.
runtime = backup->runtime;
168 if (
mesh->runtime->subsurf_runtime_data == backup.runtime) {
169 mesh->runtime->subsurf_runtime_data =
nullptr;
178 if (
object->pose !=
nullptr) {
Blender kernel action and pose functionality.
General operations, lookup, etc. for blender objects.
unsigned short base_local_view_bits
Map< SessionUID, bPoseChannel_Runtime > pose_channel_runtime_data
bke::ObjectRuntime runtime
void init_from_object(Object *object)
ObjectRuntimeBackup(const Depsgraph *depsgraph)
void backup_modifier_runtime_data(Object *object)
Map< int, ModifierDataBackup > modifier_runtime_data
void restore_to_object(Object *object)
std::optional< LightLinkingRuntime > light_linking_runtime
void backup_pose_channel_runtime_data(Object *object)
void restore_modifier_runtime_data(Object *object)
void restore_pose_channel_runtime_data(Object *object)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void BKE_object_runtime_reset(Object *object)
void BKE_pose_channel_runtime_reset(bPoseChannel_Runtime *runtime) ATTR_NONNULL(1)
void BKE_object_free_derived_caches(Object *ob)
void BKE_light_linking_ensure(struct Object *object)
ID_Type GS(const char *name)
void BKE_pose_channel_runtime_free(bPoseChannel_Runtime *runtime) ATTR_NONNULL(1)
const ModifierTypeInfo * BKE_modifier_get_info(ModifierType type)
bke::id::ID_Runtime * runtime
bke::MeshRuntime * runtime
void(*) free_runtime_data(void *runtime_data)
struct bPoseChannel_Runtime runtime
std::shared_ptr< BMEditMesh > edit_mesh
std::optional< Bounds< float3 > > bounds_eval