Blender V5.3
editlattice_undo.cc File Reference
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "CLG_log.h"
#include "BLI_array_utils_c.hh"
#include "BLI_listbase.hh"
#include "BLI_string.hh"
#include "DNA_curve_types.h"
#include "DNA_lattice_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BKE_context.hh"
#include "BKE_deform.hh"
#include "BKE_lattice.hh"
#include "BKE_layer.hh"
#include "BKE_main.hh"
#include "BKE_object.hh"
#include "BKE_undo_system.hh"
#include "DEG_depsgraph.hh"
#include "ED_lattice.hh"
#include "ED_object.hh"
#include "ED_undo.hh"
#include "ED_util.hh"
#include "WM_api.hh"
#include "WM_types.hh"

Go to the source code of this file.

Classes

struct  blender::UndoLattice
struct  blender::LatticeUndoStep_Elem
struct  blender::LatticeUndoStep

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Undo Conversion
static void blender::undolatt_to_editlatt (UndoLattice *ult, EditLatt *editlatt, ListBaseT< bDeformGroup > *vertex_group_names, int *vertex_group_active_index)
static void * blender::undolatt_from_editlatt (UndoLattice *ult, EditLatt *editlatt, const ListBaseT< bDeformGroup > *vertex_group_names, int vertex_group_active_index)
static void blender::undolatt_free_data (UndoLattice *ult)
static Object * blender::editlatt_object_from_context (bContext *C)
Implements ED Undo System
static bool blender::lattice_undosys_poll (bContext *C)
static bool blender::lattice_undosys_step_encode (bContext *C, Main *bmain, UndoStep *us_p)
static void blender::lattice_undosys_step_decode (bContext *C, Main *bmain, UndoStep *us_p, const eUndoStepDir, bool)
static void blender::lattice_undosys_step_free (UndoStep *us_p)
static void blender::lattice_undosys_foreach_ID_ref (UndoStep *us_p, UndoTypeForEachIDRefFn foreach_ID_ref_fn, void *user_data)
void blender::ED_lattice_undosys_type (UndoType *ut)

Variables

static CLG_LogRef blender::LOG = {"undo.lattice"}