summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
AgeCommit message (Collapse)Author
2021-06-03Replace get_settings_dir with get_config_dir when fetching configuration pathsYuri Sizov
2021-06-02Use bold fonts in editorreduz
* Labels are now bold * Categories in trees are bold * Main editor buttons are bold * Fixed section folding arrows in inspector
2021-05-31Merge pull request #49178 from YeldhamDev/remove_dim_optionRémi Verschelde
2021-05-31Implement shader cachingreduz
* Shader compilation is now cached. Subsequent loads take less than a millisecond. * Improved game, editor and project manager startup time. * Editor uses .godot/shader_cache to store shaders. * Game uses user://shader_cache * Project manager uses $config_dir/shader_cache * Options to tweak shader caching in project settings. * Editor path configuration moved from EditorSettings to new class, EditorPaths, so it can be available early on (before shaders are compiled). * Reworked ShaderCompilerRD to ensure deterministic shader code creation (else shader may change and cache will be invalidated). * Added shader compression with SMOLV: https://github.com/aras-p/smol-v
2021-05-28Remove `dim_editor_on_dialog_popup` from editor settingsMichael Alexsander
2021-05-21Merge pull request #48854 from pycbouh/editor-reuse-resource-pickerRémi Verschelde
Use `EditorResourcePicker` in the Inspector
2021-05-20Fix typos with codespellRémi Verschelde
Using codespell 2.0.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2021-05-19Use EditorResourcePicker in the InspectorYuri Sizov
2021-05-18i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit bcedd097426403f25098f44038c79bc39a8131c6)
2021-05-17Merge pull request #47260 from pycbouh/editor-resource-pickerRémi Verschelde
2021-05-17Add EditorResourcePicker control based on the Inspector editor for Resourcespycbouh
Fix formatting for the docs
2021-05-17Fix crash after disabling plugin using set_force_draw_over_forwarding_enabled()kleonc
2021-05-15Add "Support Godot Development" option to the editor's Help menuHugo Locurcio
2021-05-14Merge pull request #48667 from pycbouh/editor-respect-custom-themesRémi Verschelde
Keep custom editor theme when changing editor settings
2021-05-12Keep custom editor theme when changing editor settingsYuri Sizov
2021-05-09Remove plugin from enabled if there's an errorDaniel Lungaro
inform user in warning message Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> Refactor remove plugin from enabled
2021-05-09Merge pull request #48574 from Calinou/editor-add-new-scene-shortcutsRémi Verschelde
Add shortcuts for New Scene and New Inherited Scene actions
2021-05-09Save the current script when pressing Ctrl + S if no scene is openHugo Locurcio
- Tweak the dialog messages to be more informative. - The "Saved N modified resources" dialog is not a warning per se, so make it more explicit.
2021-05-09Add shortcuts for New Scene and New Inherited Scene actionsHugo Locurcio
These default to Ctrl + N and Ctrl + Shift + N respectively.
2021-05-07Merge pull request #48535 from groud/tiles_squashedRémi Verschelde
TileSet and TileMap rework (squashed)
2021-05-07Rework the TileSet resource and TileMap nodes:Gilles Roudière
- Move most properties from TileMap to TileSet, - Make TileSet more flexible, supporting more feature (several collision layers, etc...), - Fusion both the TileMap and TileSet editor, - Implement TileSetSources, and thus a new way to index tiles in the TileSet, - Rework the TileSet and TileMap editors completely, - Implement an editor zoom widget (and use it in several places)
2021-05-07Merge pull request #48466 from EricEzaM/output-log-save-stateRémi Verschelde
Made Editor Log buttons save their state, per project.
2021-05-07Implement the `%command%` placeholder in the Main Run Args settingHugo Locurcio
This can be used to tell Godot to run an executable that will run Godot rather than running Godot directly. This is useful to make Godot start on the dedicated GPU when using a NVIDIA Optimus setup on Linux: `prime-run %command%` The `editor/run/main_run_args` setting declaration was moved to make it visible in the ProjectSettings documentation.
2021-05-06Merge pull request #45607 from Calinou/improve-editor-themeRémi Verschelde
Improve the editor theme
2021-05-06Made Editor Log buttons save their state, per project.Eric M
2021-05-04Fix 3D scene preview generation.CaptainProton42
File system dock previews will now be generated for 3D scenes when no editor feature profile is set.
2021-05-04Merge pull request #47855 from aaronfranke/doubleclickRémi Verschelde
Rename `doubleclick` to `double_click`
2021-05-04Rename `doubleclick` to `double_click`Aaron Franke
2021-04-28Make it possible to copy the Godot version identifier by clicking itHugo Locurcio
This closes #24317.
2021-04-27Improve the editor themeHugo Locurcio
The editor theme now makes use of rounded corners and less borders to follow modern visual trends. The default theme's colors were also tweaked to make the blue hue more subtle (similar to the Arc theme, which was removed as a consequence). The Alien theme was replaced by a Breeze Dark theme, which should blend in well with the KDE theme.
2021-04-23Implement occlusion cullingjfons
Added an occlusion culling system with support for static occluder meshes. It can be enabled via `Project Settings > Rendering > Occlusion Culling > Use Occlusion Culling`. Occluders are defined via the new `Occluder3D` resource and instanced using the new `OccluderInstance3D` node. The occluders can also be automatically baked from a scene using the built-in editor plugin.
2021-04-06Add Various ColorPicker shapesKongfa Waroros
2021-04-06Improve error messages for missing export presets when using `--export`Hugo Locurcio
- Display a specific error message if the project doesn't have an `export_presets.cfg` file. - Display a list of detected export presets if an invalid export preset name is supplied.
2021-04-05Style: Apply clang-tidy's `modernize-use-bool-literals`Rémi Verschelde
2021-04-05Fix crashes in *_input functionsRafał Mikrut
2021-03-28Rename Texture.get_data() to get_image()Marcel Admiraal
2021-03-26Save project after openingkobewi
2021-03-25Hide renderer selection dropdown in the editor as it's not implementedHugo Locurcio
It will take at least a few months until an OpenGL renderer is made available for the `master` branch.
2021-03-23Remove now unnecessary ResourceImporterCSV importerRémi Verschelde
Its only purpose was to prevent importing CSV files as translations, but it would still import them as *nothing*, leading to workflow issues. This is now properly fixed with #47268 which allows disabling the import for specific files.
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-22Improved 3D Scene ImporterJuan Linietsky
* Added option for importers to show an Advanced settings dialog * Created advanced settings dialog for Scene Importer * Cleaned up importers (remove many old/unused options) * Added the ability to customize every node, material, mesh and animation individually * Saving to animations and meshes to files is now a manual process, making it more predictable * Added the ability for materials to be replaced by external files (or to be made external, up to you). * When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it. WARNING: Lightmap UV unwrap is not working, it needs to be re-made.
2021-03-15Merge pull request #44333 from lupoDharkael/preferred-extensionRémi Verschelde
Save resource: give .res less priority as preferred extension
2021-03-13Save resource: implement extension prioritylupoDharkael
give .res less priority and .tres more priority as preferred extensions.
2021-03-13Fix crash on closing empty modified scenejmb462
2021-02-26Don't check modified time if file doesn't existkobewi
2021-02-21Fix "editor/editor_help" shortcut (again)Danil Alexeev
2021-02-18Merge pull request #45617 from RandomShaper/modernize_atomicsRémi Verschelde
Modernize atomics (and fix `volatile`)
2021-02-18Modernize atomicsPedro J. Estébanez
- Based on C++11's `atomic` - Reworked `SafeRefCount` (based on the rewrite by @hpvb) - Replaced free atomic functions by the new `SafeNumeric<T>` - Replaced wrong cases of `volatile bool` by the new `SafeFlag` - Platform-specific implementations no longer needed Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-02-18Removed hardcoded shortcuts from /scene and converted to input actionsEric M
This removes hardcoded actions from things like LineEdit and TextEdit. Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
2021-02-18Reorganize Project Settingsreduz
-Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.