You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Changed import workflow
-Rearrange favorites in fs dock with drag and drop -Removed import -> sub-scene, moved to scenetree contextual menu -Removed import -> re-import , moved and integrated to FS dock -Added ability in FS dock to re-import more than one resource simultaneously -Added ability to drag from native filesystem explorer to Godot, only works on Windows though -Removed scene reimport merge options, never worked well. Eventually merging materials should be re-added -Added ability to set custom root node type when importing scenes -Re-Import is now automatic, can be configured back to manual in editor settings -Added resource previews in property list for many resource types
This commit is contained in:
@@ -1593,6 +1593,14 @@ void SceneTree::_live_edit_reparent_node_func(const NodePath& p_at,const NodePat
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
void SceneTree::drop_files(const Vector<String>& p_files,int p_from_screen) {
|
||||
|
||||
emit_signal("files_dropped",p_files,p_from_screen);
|
||||
MainLoop::drop_files(p_files,p_from_screen);
|
||||
}
|
||||
|
||||
void SceneTree::_bind_methods() {
|
||||
|
||||
|
||||
@@ -1666,6 +1674,8 @@ void SceneTree::_bind_methods() {
|
||||
ADD_SIGNAL( MethodInfo("idle_frame"));
|
||||
ADD_SIGNAL( MethodInfo("fixed_frame"));
|
||||
|
||||
ADD_SIGNAL( MethodInfo("files_dropped",PropertyInfo(Variant::STRING_ARRAY,"files"),PropertyInfo(Variant::INT,"screen")) );
|
||||
|
||||
BIND_CONSTANT( GROUP_CALL_DEFAULT );
|
||||
BIND_CONSTANT( GROUP_CALL_REVERSE );
|
||||
BIND_CONSTANT( GROUP_CALL_REALTIME );
|
||||
|
||||
Reference in New Issue
Block a user