forked from bartvdbraak/blender
Fix for drag-n-drop images into sequencer: it was impossible to select files
from a file browser after dropping image strip from an external application.
This commit is contained in:
parent
305da3a743
commit
73a4f7f4e2
@ -531,7 +531,7 @@ static int sequencer_add_image_strip_invoke(bContext *C, wmOperator *op, wmEvent
|
|||||||
|
|
||||||
|
|
||||||
/* drag drop has set the names */
|
/* drag drop has set the names */
|
||||||
if(RNA_collection_length(op->ptr, "files")) {
|
if(RNA_struct_property_is_set(op->ptr, "files") && RNA_collection_length(op->ptr, "files")) {
|
||||||
sequencer_generic_invoke_xy__internal(C, op, event, SEQPROP_ENDFRAME|SEQPROP_NOPATHS);
|
sequencer_generic_invoke_xy__internal(C, op, event, SEQPROP_ENDFRAME|SEQPROP_NOPATHS);
|
||||||
return sequencer_add_image_strip_exec(C, op);
|
return sequencer_add_image_strip_exec(C, op);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user