aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/property_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-05-14 23:48:23 -0300
committerJuan Linietsky2016-05-14 23:48:45 -0300
commitbed3efb17ede58a2bfc177b47cb3a49091aea30a (patch)
tree81708b952559e76d38902afac2663a77f8974688 /tools/editor/property_editor.cpp
parent7913e792acd656469b29fb90be1dbb7c06a855ba (diff)
downloadgodot-bed3efb17ede58a2bfc177b47cb3a49091aea30a.tar.gz
godot-bed3efb17ede58a2bfc177b47cb3a49091aea30a.tar.zst
godot-bed3efb17ede58a2bfc177b47cb3a49091aea30a.zip
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.
Diffstat (limited to '')
-rw-r--r--tools/editor/property_editor.cpp1
1 files changed, 1 insertions, 0 deletions
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<String> files = drag_data["files"];