Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/space_sequencer.c
| Context not available. | |||||
| if (drag->type == WM_DRAG_PATH) { | if (drag->type == WM_DRAG_PATH) { | ||||
| if (ELEM(drag->icon, 0, ICON_FILE_MOVIE, ICON_FILE_BLANK)) { /* Rule might not work? */ | if (ELEM(drag->icon, 0, ICON_FILE_MOVIE, ICON_FILE_BLANK)) { /* Rule might not work? */ | ||||
| if (find_nearest_seq(scene, ®ion->v2d, &hand, event->mval) == NULL) { | if (event->is_repeat || find_nearest_seq(scene, ®ion->v2d, &hand, event->mval) == NULL) { | ||||
| return 1; | return 1; | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||
| if (drag->type == WM_DRAG_PATH) { | if (drag->type == WM_DRAG_PATH) { | ||||
| if (ELEM(drag->icon, ICON_FILE_SOUND, ICON_FILE_BLANK)) { /* Rule might not work? */ | if (ELEM(drag->icon, ICON_FILE_SOUND, ICON_FILE_BLANK)) { /* Rule might not work? */ | ||||
| if (find_nearest_seq(scene, ®ion->v2d, &hand, event->mval) == NULL) { | if (event->is_repeat || find_nearest_seq(scene, ®ion->v2d, &hand, event->mval) == NULL) { | ||||
| return 1; | return 1; | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||