Blender V4.3
grease_pencil_undo.cc File Reference
#include "BLI_string.h"
#include "BLI_task.hh"
#include "BKE_context.hh"
#include "BKE_curves.hh"
#include "BKE_customdata.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_object.hh"
#include "BKE_undo_system.hh"
#include "CLG_log.h"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "DNA_grease_pencil_types.h"
#include "ED_grease_pencil.hh"
#include "ED_undo.hh"
#include "MEM_guardedalloc.h"
#include "WM_api.hh"
#include "WM_types.hh"
#include <iostream>
#include <ostream>

Go to the source code of this file.

Classes

struct  blender::ed::greasepencil::undo::StepEncodeStatus
 
struct  blender::ed::greasepencil::undo::StepDecodeStatus
 
class  blender::ed::greasepencil::undo::StepDrawingGeometryBase
 
class  blender::ed::greasepencil::undo::StepDrawingGeometry
 
class  blender::ed::greasepencil::undo::StepDrawingReference
 
class  blender::ed::greasepencil::undo::StepObject
 
struct  blender::ed::greasepencil::undo::GreasePencilUndoStep
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::greasepencil
 
namespace  blender::ed::greasepencil::undo
 

Functions

void ED_undosys_type_grease_pencil (UndoType *ut)
 
Implements ED Undo System
Note
This is similar for all edit-mode types.
static bool blender::ed::greasepencil::undo::step_encode (bContext *C, Main *bmain, UndoStep *us_p)
 
static void blender::ed::greasepencil::undo::step_decode (bContext *C, Main *bmain, UndoStep *us_p, const eUndoStepDir, bool)
 
static void blender::ed::greasepencil::undo::step_free (UndoStep *us_p)
 
static void blender::ed::greasepencil::undo::foreach_ID_ref (UndoStep *us_p, UndoTypeForEachIDRefFn foreach_ID_ref_fn, void *user_data)
 

Variables

static CLG_LogRef LOG = {"ed.undo.greasepencil"}
 

Function Documentation

◆ ED_undosys_type_grease_pencil()

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"ed.undo.greasepencil"}
static

Definition at line 38 of file grease_pencil_undo.cc.

Referenced by blender::ed::greasepencil::undo::step_decode().