diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-11-25 17:01:32 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-11-25 17:02:23 +0300 |
commit | c91d1961596eb3ac0905010b63551951fc1fece7 (patch) | |
tree | ad2952478500c52d2335477284ebaaf1d636526e /source/blender/editors/include/UI_tree_view.hh | |
parent | e253fb2143e2a8f1de331d17343d44671ab6e440 (diff) |
Fix T93274: Assigning asset catalog doesn't mark file as modified
Assigning a catalog to an asset via drag-and-drop in the asset browser
now creates an undo step. Not only does this allow undoing the action,
it also tags the blend file as modified.
Reviewed by: Severin
Differential Revision: https://developer.blender.org/D13370
Diffstat (limited to 'source/blender/editors/include/UI_tree_view.hh')
-rw-r--r-- | source/blender/editors/include/UI_tree_view.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_tree_view.hh b/source/blender/editors/include/UI_tree_view.hh index 5acee02a8cc..70d0f3b21b2 100644 --- a/source/blender/editors/include/UI_tree_view.hh +++ b/source/blender/editors/include/UI_tree_view.hh @@ -405,7 +405,7 @@ class AbstractTreeViewItemDropController { * Execute the logic to apply a drop of the data dragged with \a drag onto/into the item this * controller is for. */ - virtual bool on_drop(const wmDrag &drag) = 0; + virtual bool on_drop(struct bContext *C, const wmDrag &drag) = 0; template<class TreeViewType> inline TreeViewType &tree_view() const; }; |