Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/gpencil/gpencil_undo.c
| Context not available. | |||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "DNA_gpencil_types.h" | #include "DNA_gpencil_types.h" | ||||
| #include "DNA_object_types.h" | |||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "DNA_windowmanager_types.h" | #include "DNA_windowmanager_types.h" | ||||
| Context not available. | |||||
| #include "WM_api.h" | #include "WM_api.h" | ||||
| #include "WM_types.h" | #include "WM_types.h" | ||||
| #include "DEG_depsgraph.h" | |||||
| #include "gpencil_intern.h" | #include "gpencil_intern.h" | ||||
| typedef struct bGPundonode { | typedef struct bGPundonode { | ||||
| Context not available. | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /* drawing batch cache is dirty now */ | |||||
| DEG_id_tag_update(&new_gpd->id, OB_RECALC_OB | OB_RECALC_DATA); | |||||
| new_gpd->flag |= GP_DATA_CACHE_IS_DIRTY; | |||||
| } | } | ||||
| WM_event_add_notifier(C, NC_GPENCIL | NA_EDITED, NULL); | WM_event_add_notifier(C, NC_GPENCIL | NA_EDITED, NULL); | ||||
| Context not available. | |||||