diff options
-rw-r--r-- | source/blender/editors/space_outliner/outliner_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner_ops.c b/source/blender/editors/space_outliner/outliner_ops.c index 4b0dcb143e6..90d27b09292 100644 --- a/source/blender/editors/space_outliner/outliner_ops.c +++ b/source/blender/editors/space_outliner/outliner_ops.c @@ -75,7 +75,7 @@ static void outliner_item_drag_end(TreeElement *dragged_te) } static void outliner_item_drag_get_insert_data( - SpaceOops *soops, ARegion *ar, const wmEvent *event, TreeElement *te_dragged, + const SpaceOops *soops, ARegion *ar, const wmEvent *event, TreeElement *te_dragged, TreeElement **r_te_insert_handle, TreeElementInsertType *r_insert_type) { TreeElement *te_hovered; @@ -109,7 +109,7 @@ static void outliner_item_drag_get_insert_data( *r_insert_type = TE_INSERT_AFTER; } } - else if (view_mval[1] > (te_hovered->ys + (2 * margin))) { + else if (view_mval[1] > (te_hovered->ys + (3 * margin))) { *r_insert_type = TE_INSERT_BEFORE; } else { |