Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFalk David <falkdavid@gmx.de>2022-02-02 17:22:01 +0300
committerFalk David <falkdavid@gmx.de>2022-02-02 17:22:01 +0300
commitdfb8e1f895ecd9b2dd68a6caf405c922adc2f407 (patch)
tree0c0748493ffee6318e7a5a99fe3dccfb36b6c315 /source/blender/editors/undo
parentb6097a659e4f6f2096357a1347d5380bdbbf6f8a (diff)
Initial gpencil undo system patch
Co-authored-by: @yann-lty
Diffstat (limited to 'source/blender/editors/undo')
-rw-r--r--source/blender/editors/undo/undo_system_types.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/undo/undo_system_types.c b/source/blender/editors/undo/undo_system_types.c
index 300ab606a03..4c5e6c173a7 100644
--- a/source/blender/editors/undo/undo_system_types.c
+++ b/source/blender/editors/undo/undo_system_types.c
@@ -24,6 +24,7 @@
#include "ED_armature.h"
#include "ED_curve.h"
+#include "ED_gpencil.h"
#include "ED_lattice.h"
#include "ED_mball.h"
#include "ED_mesh.h"
@@ -46,6 +47,8 @@ void ED_undosys_type_init(void)
BKE_undosys_type_append(ED_lattice_undosys_type);
BKE_undosys_type_append(ED_mball_undosys_type);
BKE_undosys_type_append(ED_mesh_undosys_type);
+ /* Grease pencil */
+ BKE_UNDOSYS_TYPE_GPENCIL = BKE_undosys_type_append(ED_gpencil_undosys_type);
/* Paint Modes */
BKE_UNDOSYS_TYPE_IMAGE = BKE_undosys_type_append(ED_image_undosys_type);