diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-07-20 19:49:27 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-07-20 19:49:27 +0300 |
commit | 60f8f8e8843de9d4b14a13f657ae7ff212dbc3fc (patch) | |
tree | 6316d725daeb814a217b81795259c8fb8ab202e8 /source | |
parent | 4aa147a9668362beb1a87b38c31ea2bc2502db2b (diff) |
GPencil: Add notifier to update material list
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_asset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_asset.c b/source/blender/editors/gpencil/gpencil_asset.c index 8d74f271939..0b353e8ac23 100644 --- a/source/blender/editors/gpencil/gpencil_asset.c +++ b/source/blender/editors/gpencil/gpencil_asset.c @@ -969,7 +969,7 @@ static void gpencil_asset_import_exit(bContext *C, wmOperator *op) MEM_SAFE_FREE(tgpa); } DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY); - WM_event_add_notifier(C, NC_GPENCIL | NA_EDITED, NULL); + WM_event_add_notifier(C, NC_GPENCIL | NA_EDITED | ND_DATA, NULL); /* Clear pointer. */ op->customdata = NULL; |