Blender V4.3
object_shapekey.cc File Reference
#include <cmath>
#include <cstring>
#include <unistd.h>
#include "MEM_guardedalloc.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_object.hh"
#include "BKE_report.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "BLI_sys_types.h"
#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)
 
Add Shape Key Function
static void blender::ed::object::ED_object_shape_key_add (bContext *C, Object *ob, const bool from_mix)
 
Remove Shape Key Function
static bool blender::ed::object::object_shapekey_remove (Main *bmain, Object *ob)
 
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 int blender::ed::object::shape_key_add_exec (bContext *C, wmOperator *op)
 
void blender::ed::object::OBJECT_OT_shape_key_add (wmOperatorType *ot)
 
Shape Key Remove Operator
static int 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 int blender::ed::object::shape_key_clear_exec (bContext *C, wmOperator *)
 
void blender::ed::object::OBJECT_OT_shape_key_clear (wmOperatorType *ot)
 
static int 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 int blender::ed::object::shape_key_mirror_exec (bContext *C, wmOperator *op)
 
void blender::ed::object::OBJECT_OT_shape_key_mirror (wmOperatorType *ot)
 

Shape Key Move (Re-Order) Operator

enum  { 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 int 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 int 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)