Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2019-06-07 12:51:10 +0300
committerAntonio Vazquez <blendergit@gmail.com>2019-06-07 12:51:10 +0300
commit6e65cd86c3d8476051ef8f0ab53b2d639311e192 (patch)
tree6bde7e069db2002d924e7cc4c6f84e921be6bc83 /source/blender/editors/gpencil
parent05101a6cd6dd1cd1364c5b72e4a3407665b9010a (diff)
Cleanup: Remove unused variable and move definition
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/gpencil_data.c3
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 */