Blender V5.0
object_shapekey.cc File Reference
#include <cstring>
#include <unistd.h>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.h"
#include "BLI_math_vector.h"
#include "BLI_utildefines.h"
#include "BLT_translation.hh"
#include "DNA_key_types.h"
#include "DNA_lattice_types.h"
#include "DNA_mesh_types.h"
#include "DNA_object_types.h"
#include "BKE_context.hh"
#include "BKE_key.hh"
#include "BKE_lattice.hh"
#include "BKE_library.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "ED_curve.hh"
#include "ED_lattice.hh"
#include "ED_mesh.hh"
#include "ED_object.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "object_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::object

Functions

Shape Key Lock Checks
bool blender::ed::object::shape_key_report_if_locked (const Object *obedit, ReportList *reports)
bool blender::ed::object::shape_key_report_if_active_locked (Object *ob, ReportList *reports)
static bool blender::ed::object::object_is_any_shape_key_locked (Object *ob)
bool blender::ed::object::shape_key_report_if_any_locked (Object *ob, ReportList *reports)
bool blender::ed::object::shape_key_is_selected (const Object &object, const KeyBlock &kb, int keyblock_index)
Add Shape Key Function
static void blender::ed::object::object_shape_key_add (bContext *C, Object *ob, const bool from_mix)
Remove Shape Key Function
void blender::ed::object::shape_key_mirror (Object *ob, KeyBlock *kb, bool use_topology, int &totmirr, int &totfail)
static bool blender::ed::object::object_shape_key_mirror (bContext *C, Object *ob, int *r_totmirr, int *r_totfail, bool use_topology)
Shared Poll Functions
static bool blender::ed::object::shape_key_poll (bContext *C)
static bool blender::ed::object::shape_key_exists_poll (bContext *C)
static bool blender::ed::object::shape_key_mode_poll (bContext *C)
static bool blender::ed::object::shape_key_mode_exists_poll (bContext *C)
static bool blender::ed::object::shape_key_move_poll (bContext *C)
Shape Key Add Operator
static wmOperatorStatus blender::ed::object::shape_key_add_exec (bContext *C, wmOperator *op)
void blender::ed::object::OBJECT_OT_shape_key_add (wmOperatorType *ot)
Shape Key Duplicate Operator
static wmOperatorStatus blender::ed::object::shape_key_copy_exec (bContext *C, wmOperator *)
void blender::ed::object::OBJECT_OT_shape_key_copy (wmOperatorType *ot)
Shape Key Remove Operator
static wmOperatorStatus blender::ed::object::shape_key_remove_exec (bContext *C, wmOperator *op)
static bool blender::ed::object::shape_key_remove_poll_property (const bContext *, wmOperator *op, const PropertyRNA *prop)
static std::string blender::ed::object::shape_key_remove_get_description (bContext *, wmOperatorType *, PointerRNA *ptr)
void blender::ed::object::OBJECT_OT_shape_key_remove (wmOperatorType *ot)
Shape Key Clear Operator
static wmOperatorStatus blender::ed::object::shape_key_clear_exec (bContext *C, wmOperator *)
void blender::ed::object::OBJECT_OT_shape_key_clear (wmOperatorType *ot)
static wmOperatorStatus blender::ed::object::shape_key_retime_exec (bContext *C, wmOperator *)
void blender::ed::object::OBJECT_OT_shape_key_retime (wmOperatorType *ot)
Shape Key Mirror Operator
static wmOperatorStatus blender::ed::object::shape_key_mirror_exec (bContext *C, wmOperator *op)
void blender::ed::object::OBJECT_OT_shape_key_mirror (wmOperatorType *ot)
Shape Key Make Basis Operator
static bool blender::ed::object::shape_key_make_basis_poll (bContext *C)
static wmOperatorStatus blender::ed::object::shape_key_make_basis_exec (bContext *C, wmOperator *)
void blender::ed::object::OBJECT_OT_shape_key_make_basis (wmOperatorType *ot)

Shape Key Move (Re-Order) Operator

enum  blender::ed::object::KeyBlockMove { blender::ed::object::KB_MOVE_TOP = -2 , blender::ed::object::KB_MOVE_UP = -1 , blender::ed::object::KB_MOVE_DOWN = 1 , blender::ed::object::KB_MOVE_BOTTOM = 2 }
static wmOperatorStatus blender::ed::object::shape_key_move_exec (bContext *C, wmOperator *op)
void blender::ed::object::OBJECT_OT_shape_key_move (wmOperatorType *ot)

Shape Key Lock (Unlock) Operator

enum  { blender::ed::object::SHAPE_KEY_LOCK , blender::ed::object::SHAPE_KEY_UNLOCK }
static wmOperatorStatus blender::ed::object::shape_key_lock_exec (bContext *C, wmOperator *op)
static std::string blender::ed::object::shape_key_lock_get_description (bContext *, wmOperatorType *, PointerRNA *ptr)
void blender::ed::object::OBJECT_OT_shape_key_lock (wmOperatorType *ot)