Blender V5.3
paint_curve_undo.cc File Reference
#include <cstring>
#include "MEM_guardedalloc.h"
#include "DNA_brush_types.h"
#include "DNA_userdef_types.h"
#include "BKE_paint.hh"
#include "BKE_undo_system.hh"
#include "ED_paint.hh"
#include "ED_undo.hh"
#include "WM_api.hh"
#include "paint_intern.hh"
#include "BLI_array_utils_c.hh"

Go to the source code of this file.

Classes

struct  blender::PaintCurveUndoStep

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Undo Conversion
static void blender::undocurve_from_paintcurve (UndoCurve *uc, const PaintCurve *pc)
static void blender::undocurve_to_paintcurve (const UndoCurve *uc, PaintCurve *pc)
static void blender::undocurve_free_data (UndoCurve *uc)
Implements ED Undo System
static bool blender::paintcurve_undosys_poll (bContext *C)
static void blender::paintcurve_undosys_step_encode_init (bContext *C, UndoStep *us_p)
static bool blender::paintcurve_undosys_step_encode (bContext *C, Main *, UndoStep *us_p)
static void blender::paintcurve_undosys_step_decode (bContext *, Main *, UndoStep *us_p, const eUndoStepDir, bool)
static void blender::paintcurve_undosys_step_free (UndoStep *us_p)
static void blender::paintcurve_undosys_foreach_ID_ref (UndoStep *us_p, UndoTypeForEachIDRefFn foreach_ID_ref_fn, void *user_data)
void blender::ED_paintcurve_undosys_type (UndoType *ut)
Utilities
void blender::ED_paintcurve_undo_push_begin (const char *name)
void blender::ED_paintcurve_undo_push_end (bContext *C)