diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-06-07 12:51:10 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-06-07 12:51:10 +0300 |
commit | 6e65cd86c3d8476051ef8f0ab53b2d639311e192 (patch) | |
tree | 6bde7e069db2002d924e7cc4c6f84e921be6bc83 /source/blender/editors/gpencil/gpencil_data.c | |
parent | 05101a6cd6dd1cd1364c5b72e4a3407665b9010a (diff) |
Cleanup: Remove unused variable and move definition
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_data.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_data.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c index afddfc27a08..b2f636122c3 100644 --- a/source/blender/editors/gpencil/gpencil_data.c +++ b/source/blender/editors/gpencil/gpencil_data.c @@ -1272,8 +1272,6 @@ static int gp_stroke_arrange_exec(bContext *C, wmOperator *op) Object *ob = CTX_data_active_object(C); bGPdata *gpd = ED_gpencil_data_get_active(C); bGPDlayer *gpl = BKE_gpencil_layer_getactive(gpd); - bGPDstroke *gps; - const bool is_multiedit = (bool)GPENCIL_MULTIEDIT_SESSIONS_ON(gpd); /* sanity checks */ if (ELEM(NULL, gpd, gpl, gpl->actframe)) { @@ -1281,6 +1279,7 @@ static int gp_stroke_arrange_exec(bContext *C, wmOperator *op) } const int direction = RNA_enum_get(op->ptr, "direction"); + const bool is_multiedit = (bool)GPENCIL_MULTIEDIT_SESSIONS_ON(gpd); CTX_DATA_BEGIN (C, bGPDlayer *, gpl, editable_gpencil_layers) { /* temp listbase to store selected strokes */ |