From bed3efb17ede58a2bfc177b47cb3a49091aea30a Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 14 May 2016 23:48:23 -0300 Subject: New reworked AnimatedSprite! -New SpriteFrames editor, with support for drag&drop, multiple animation sets, animation speed and loop. -New AnimatedSprite, with support for all the new features! AnimatedSprite3D has not been updated yet. -Added support for drag&drop to other editors, such as resourcepreload, sample library, etc. --- tools/editor/property_editor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/editor/property_editor.cpp') diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp index 6f8091015..c4f54e04c 100644 --- a/tools/editor/property_editor.cpp +++ b/tools/editor/property_editor.cpp @@ -2287,6 +2287,7 @@ bool PropertyEditor::_is_drop_valid(const Dictionary& p_drag_data, const Diction } } + if (drag_data.has("type") && String(drag_data["type"])=="files") { Vector files = drag_data["files"]; -- cgit v1.2.3-70-g09d2