[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57568] trunk/blender/source/blender/ editors/space_clip/space_clip.c: Fix #35773: Drag-to-Open failed in Movie Clip Editor

Sergey Sharybin sergey.vfx at gmail.com
Wed Jun 19 10:45:02 CEST 2013


Revision: 57568
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57568
Author:   nazgul
Date:     2013-06-19 08:45:02 +0000 (Wed, 19 Jun 2013)
Log Message:
-----------
Fix #35773: Drag-to-Open failed in Movie Clip Editor

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_clip/space_clip.c

Modified: trunk/blender/source/blender/editors/space_clip/space_clip.c
===================================================================
--- trunk/blender/source/blender/editors/space_clip/space_clip.c	2013-06-19 08:40:18 UTC (rev 57567)
+++ trunk/blender/source/blender/editors/space_clip/space_clip.c	2013-06-19 08:45:02 UTC (rev 57568)
@@ -807,7 +807,7 @@
 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;




More information about the Bf-blender-cvs mailing list