1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Ability to drag script files from Filesystem dock to SceneTree dock.

Allows to attach scripts by dragging them onto the target Node.
This commit is contained in:
Andreas Haas
2016-10-27 16:32:41 +02:00
parent 8321e48ab0
commit a3944e66da
4 changed files with 38 additions and 2 deletions

View File

@@ -137,6 +137,9 @@ class SceneTreeEditor : public Control {
Timer* update_timer;
List<StringName> *script_types;
bool _is_script_type(const StringName &p_type) const;
public:
void set_filter(const String& p_filter);