From 77794b1a7b99bd689d1d9872c61d7990fbad2ce4 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Thu, 28 Apr 2022 12:50:22 +0200 Subject: VSE: Add precise drag and drop and strip previews This patch adds the drag and drop strip previews in the VSE. It also adds two new functions to the drag and drop API. 1. "draw_in_view" for callbacks that wants to draw elements in local viewport coordinates 2. "on_drag_start" that can be used for prefetching data only once at the start of the drag. Reviewed By: Julian, Campbell Differential Revision: http://developer.blender.org/D14560 --- source/blender/editors/interface/interface_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/interface/interface_ops.c') diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c index 0f4f0ef48ff..5b97a80d513 100644 --- a/source/blender/editors/interface/interface_ops.c +++ b/source/blender/editors/interface/interface_ops.c @@ -1862,7 +1862,7 @@ bool UI_drop_color_poll(struct bContext *C, wmDrag *drag, const wmEvent *UNUSED( return 0; } -void UI_drop_color_copy(wmDrag *drag, wmDropBox *drop) +void UI_drop_color_copy(bContext *UNUSED(C), wmDrag *drag, wmDropBox *drop) { uiDragColorHandle *drag_info = drag->poin; -- cgit v1.2.3