diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-05 13:14:55 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-10 18:53:00 +0300 |
commit | 4375e7ff0b74f96447e27f78a0d9245353d36865 (patch) | |
tree | 24ea32717810f89f8c8ba54f2aa28aa81122a8cd /source/blender/editors/space_text/space_text.c | |
parent | 86c363a02706b1a5d3cb18d17b4b37bd78461ded (diff) |
WM: internal changes to support dragging multiple IDs.
To be used by the outliner.
Diffstat (limited to 'source/blender/editors/space_text/space_text.c')
-rw-r--r-- | source/blender/editors/space_text/space_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/space_text.c b/source/blender/editors/space_text/space_text.c index 469e1b84c29..f3c55aa3474 100644 --- a/source/blender/editors/space_text/space_text.c +++ b/source/blender/editors/space_text/space_text.c @@ -499,7 +499,7 @@ static bool text_drop_paste_poll(bContext *UNUSED(C), wmDrag *drag, const wmEven static void text_drop_paste(wmDrag *drag, wmDropBox *drop) { char *text; - ID *id = drag->poin; + ID *id = WM_drag_ID(drag, 0); /* copy drag path to properties */ text = RNA_path_full_ID_py(id); |