|
Blender
V3.3
|
#include "ED_armature.h"#include <cstring>#include "BLI_listbase.h"#include "MEM_guardedalloc.h"#include "DNA_action_types.h"#include "DNA_armature_types.h"#include "DNA_object_types.h"#include "BKE_action.h"#include "BKE_action.hh"#include "BKE_armature.hh"#include "BKE_idprop.h"Go to the source code of this file.
Classes | |
| struct | PoseChannelBackup |
| struct | PoseBackup |
Functions | |
| static PoseBackup * | pose_backup_create (const Object *ob, const bAction *action, const BoneNameSet &selected_bone_names) |
| PoseBackup * | ED_pose_backup_create_all_bones (const Object *ob, const bAction *action) |
| PoseBackup * | ED_pose_backup_create_selected_bones (const Object *ob, const bAction *action) |
| bool | ED_pose_backup_is_selection_relevant (const struct PoseBackup *pose_backup) |
| void | ED_pose_backup_restore (const PoseBackup *pbd) |
| void | ED_pose_backup_free (PoseBackup *pbd) |
| PoseBackup* ED_pose_backup_create_all_bones | ( | const Object * | ob, |
| const bAction * | action | ||
| ) |
Definition at line 89 of file pose_backup.cc.
References pose_backup_create().
Referenced by action_preview_render_prepare().
| PoseBackup* ED_pose_backup_create_selected_bones | ( | const Object * | ob, |
| const bAction * | action | ||
| ) |
Definition at line 94 of file pose_backup.cc.
References blender::bke::BKE_armature_find_selected_bone_names(), Object::data, and pose_backup_create().
Referenced by poselib_backup_posecopy().
| void ED_pose_backup_free | ( | PoseBackup * | pbd | ) |
Definition at line 120 of file pose_backup.cc.
References PoseBackup::backups, BLI_freelinkN(), IDP_FreeProperty(), LISTBASE_FOREACH_MUTABLE, and MEM_freeN.
Referenced by action_preview_render_cleanup(), and poselib_blend_free().
| bool ED_pose_backup_is_selection_relevant | ( | const struct PoseBackup * | pose_backup | ) |
Definition at line 101 of file pose_backup.cc.
References PoseBackup::is_bone_selection_relevant.
Referenced by poselib_keytag_pose().
| void ED_pose_backup_restore | ( | const PoseBackup * | pbd | ) |
Definition at line 106 of file pose_backup.cc.
References PoseBackup::backups, IDP_SyncGroupValues(), and LISTBASE_FOREACH.
Referenced by action_preview_render_cleanup(), poselib_blend_apply(), and poselib_blend_cleanup().
|
static |
Definition at line 41 of file pose_backup.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), PoseBackup::backups, blender::bke::BKE_action_find_fcurves_with_bones(), BKE_pose_channel_find_name(), BLI_addtail(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), IDP_CopyProperty(), PoseBackup::is_bone_selection_relevant, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), MEM_callocN, PoseChannelBackup::olddata, PoseChannelBackup::oldprops, PoseChannelBackup::pchan, Object::pose, and bPoseChannel::prop.
Referenced by ED_pose_backup_create_all_bones(), and ED_pose_backup_create_selected_bones().