diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2020-06-30 01:20:51 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2020-07-04 05:56:42 +0300 |
commit | cd3d261e3c86d75af93cdd66f30b620b2a5f7c5a (patch) | |
tree | 532ee6e2befbb43565b82db6d9f0c2d9ac52ed36 /source/blender/editors/space_outliner/outliner_draw.c | |
parent | abf079b64e3ede5a5fe73da46d36ca30e8d1e281 (diff) |
Outliner modifier drop
Initial implementation. Experimentation to see what types of data
are needed.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_draw.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index b077ad3d300..9f3760af3d7 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -2156,6 +2156,8 @@ TreeElementIcon tree_element_get_icon(TreeStoreElem *tselem, TreeElement *te) break; case TSE_MODIFIER: { Object *ob = (Object *)tselem->id; + data.drag_id = tselem->id; + if (ob->type != OB_GPENCIL) { ModifierData *md = BLI_findlink(&ob->modifiers, tselem->nr); switch ((ModifierType)md->type) { |