diff options
| author | Juan Linietsky | 2014-05-04 22:50:23 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-05-04 22:50:23 -0300 |
| commit | 72ae89c5aa8da9110ec8f89e5558d5d04935f3b5 (patch) | |
| tree | 453b2c8b8cc0edc588cee2dd3e440b30ff729ae2 /tools/editor/editor_node.cpp | |
| parent | 3c17e0c91548299b60a6d3998eadb303418512cc (diff) | |
| download | godot-72ae89c5aa8da9110ec8f89e5558d5d04935f3b5.tar.gz godot-72ae89c5aa8da9110ec8f89e5558d5d04935f3b5.tar.zst godot-72ae89c5aa8da9110ec8f89e5558d5d04935f3b5.zip | |
Lots of 3D improvements:
-Object Manipulator Gizmo keeps proper scale in all windows and projections, (configurable on settings too).
-Manipulator gizmos for other objects (camera, shapes, etc) massively improved and bug-fixed.
-Manipulator gizmos are different for edited object and other objects.
-Properly highlight manipulator gizmo handles when hovered.
-Fixed bugs in fragment program when using more than 1 light together.
-Reload png/jpg files automatically in editor if edited externally.
-Added 4-stages Parallel Split Shadow Mapping, to improve shadow quality in large scenarios
-Added PCF13 to improve smoothness of shadow borders
-General optimization of directional light shadow mapping for Orthogonal,PSM and PSSM.
-Fixed normal mapping when importing DAE files, works nicely now.
Diffstat (limited to 'tools/editor/editor_node.cpp')
| -rw-r--r-- | tools/editor/editor_node.cpp | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index f6653ac3d..3ea09fca4 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -302,6 +302,10 @@ void EditorNode::_notification(int p_what) { } */ + if (bool(EDITOR_DEF("resources/auto_reload_modified_images",true))) { + + _menu_option_confirm(DEPENDENCY_LOAD_CHANGED_IMAGES,true); + } EditorFileSystem::get_singleton()->scan_sources(); @@ -2241,9 +2245,9 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { reimport_dialog->popup_reimport(); } break; - case DEPENDENCY_UPDATE_LOCAL: { + case DEPENDENCY_LOAD_CHANGED_IMAGES: { + - /* List<Ref<Resource> > cached; ResourceCache::get_cached_resources(&cached); @@ -2258,15 +2262,6 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { } - sources_button->get_popup()->set_item_disabled(sources_button->get_popup()->get_item_index(DEPENDENCY_UPDATE_LOCAL),true); - - - if (sources_button->get_popup()->is_item_disabled(sources_button->get_popup()->get_item_index(DEPENDENCY_UPDATE_IMPORTED))) - sources_button->set_icon(gui_base->get_icon("DependencyOk","EditorIcons")); - else - sources_button->set_icon(gui_base->get_icon("DependencyChanged","EditorIcons")); - - */ } break; case DEPENDENCY_UPDATE_IMPORTED: { @@ -4165,6 +4160,7 @@ EditorNode::EditorNode() { EditorSettings::get_singleton()->enable_plugins(); Node::set_human_readable_collision_renaming(true); + // Ref<ImageTexture> it = gui_base->get_icon("logo","Icons"); // OS::get_singleton()->set_icon( it->get_data() ); |
