|
Blender V4.3
|
#include "BLI_math_matrix.hh"#include "BKE_armature.hh"#include "BKE_bvhutils.hh"#include "DNA_armature_types.h"#include "ED_transform_snap_object_context.hh"#include "ANIM_bone_collections.hh"#include "transform_snap_object.hh"Go to the source code of this file.
Functions | |
| eSnapMode | snapArmature (SnapObjectContext *sctx, const Object *ob_eval, const float4x4 &obmat, bool is_object_active) |
| eSnapMode snapArmature | ( | SnapObjectContext * | sctx, |
| const Object * | ob_eval, | ||
| const float4x4 & | obmat, | ||
| bool | is_object_active ) |
Definition at line 23 of file transform_snap_object_armature.cc.
References ANIM_bonecoll_is_visible_editbone(), BKE_armature_min_max(), BONE_HIDDEN_A, BONE_HIDDEN_P, BONE_HIDDEN_PG, BONE_ROOTSEL, BONE_SELECTED, BONE_TIPSEL, bounds(), bPose::chanbase, SnapData::clip_planes_enable(), Object::data, SnapObjectContext::dist_px_sq, BVHTreeNearest::dist_sq, bArmature::edbo, ListBase::first, Bone::flag, bArmature::id, BVHTreeNearest::index, LISTBASE_FOREACH, Object::mode, SnapData::nearest_point, OB_MODE_POSE, SnapObjectContext::params, Object::pose, SnapData::register_result(), SnapObjectContext::ret, SnapObjectContext::runtime, SCE_SNAP_TARGET_NOT_SELECTED, SCE_SNAP_TO_EDGE, SCE_SNAP_TO_EDGE_ENDPOINT, SCE_SNAP_TO_FACE, SCE_SNAP_TO_NONE, SnapData::snap_boundbox(), SnapData::snap_edge(), SnapData::snap_point(), SnapObjectParams::snap_target_select, and SnapObjectContext::snap_to_flag.