diff options
author | Campbell Barton <campbell@blender.org> | 2022-02-11 01:10:56 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-02-11 01:14:35 +0300 |
commit | 1a705fa139d3c6204b0d31a84a5596df0f25c66f (patch) | |
tree | a4609efb06f2e35abb9f7c65517723e7f35ecdd3 /source/blender/makesrna/intern/rna_gpencil.c | |
parent | 2cc47474434aaf7756ef5cfc7fcd099e179c0fd3 (diff) |
Cleanup: clang-format
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index ff194e2c52a..ab887422d58 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -180,12 +180,12 @@ static const EnumPropertyItem rna_enum_gpencil_caps_modes_items[] = { static void rna_GPencil_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr) { -#if 0 +# if 0 /* In case a property on a layer changed, tag it with a light update. */ if (ptr->type == &RNA_GPencilLayer) { BKE_gpencil_tag_light_update((bGPdata *)(ptr->owner_id), (bGPDlayer *)(ptr->data), NULL, NULL); } -#endif +# endif DEG_id_tag_update(ptr->owner_id, ID_RECALC_GEOMETRY); WM_main_add_notifier(NC_GPENCIL | NA_EDITED, NULL); } |