Fix #35773: Drag-to-Open failed in Movie Clip Editor
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 19 Jun 2013 08:45:02 +0000 (08:45 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 19 Jun 2013 08:45:02 +0000 (08:45 +0000)
source/blender/editors/space_clip/space_clip.c

index 604206490935a94f9e7f95f4f3eb96b8fcdf56df..986b71abc8a582fe7125dbf019499be7761f4474 100644 (file)
@@ -807,7 +807,7 @@ static int clip_context(const bContext *C, const char *member, bContextDataResul
 static int clip_drop_poll(bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event))
 {
        if (drag->type == WM_DRAG_PATH)
-               if (ELEM3(drag->icon, 0, ICON_FILE_IMAGE, ICON_FILE_BLANK)) /* rule might not work? */
+               if (ELEM4(drag->icon, 0, ICON_FILE_IMAGE, ICON_FILE_MOVIE, ICON_FILE_BLANK)) /* rule might not work? */
                        return TRUE;
 
        return FALSE;