diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-25 21:23:55 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-25 21:23:55 +0300 |
commit | 9df3467b4ea3851f1897d93c4aaa8c75d55ab4be (patch) | |
tree | 5e70d89c4e9410e9e0462a017f8d300995ffd161 /source/blender/editors/gpencil/gpencil_intern.h | |
parent | e3f3a8101ac351c7016b0cd90616929ac46ae036 (diff) |
GP: Add const to variable
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index b99457a7215..1de69cc79ff 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -489,7 +489,7 @@ typedef enum ACTCONT_TYPES { Depsgraph *depsgraph_ = CTX_data_depsgraph(C); \ Object *obact_ = CTX_data_active_object(C); \ bGPdata *gpd_ = CTX_data_gpencil_data(C); \ - bool is_multiedit = (bool)GPENCIL_MULTIEDIT_SESSIONS_ON(gpd_); \ + const bool is_multiedit = (bool)GPENCIL_MULTIEDIT_SESSIONS_ON(gpd_); \ CTX_DATA_BEGIN(C, bGPDlayer*, gpl, editable_gpencil_layers) \ { \ bGPDframe *init_gpf = gpl->actframe; \ |