diff options
author | Antonioya <blendergit@gmail.com> | 2016-08-05 22:09:30 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2016-08-07 17:45:02 +0300 |
commit | 0e25dc4acc08e7c48588ec7dc27f3deea3a165ec (patch) | |
tree | 5346163e6f334d26bd2876fd1a56858af47c657c | |
parent | 945b9f4c3f93ff4ffcd9a1df2511957db4c66648 (diff) |
GPencil: Fix error in arrange strokes
During code review a field was renamed, but one line was missing.
-rw-r--r-- | source/blender/editors/gpencil/gpencil_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c index 6f2ebbed7d7..876f873e5fa 100644 --- a/source/blender/editors/gpencil/gpencil_data.c +++ b/source/blender/editors/gpencil/gpencil_data.c @@ -747,7 +747,7 @@ static int gp_stroke_arrange_exec(bContext *C, wmOperator *op) bGPDframe *gpf = gpl->actframe; /* temp listbase to store selected strokes */ ListBase selected = {NULL}; - const int direction = RNA_enum_get(op->ptr, "type"); + const int direction = RNA_enum_get(op->ptr, "direction"); /* verify if any selected stroke is in the extreme of the stack and select to move */ for (gps = gpf->strokes.first; gps; gps = gps->next) { |