summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2021-07-30Merge pull request #51067 from akien-mga/doc-return-argument-self-closing-tagsRémi Verschelde
doc: Use self-closing tags for `return` and `argument`
2021-07-30Merge pull request #51041 from foxydevloper/new-resources-snake-caseRémi Verschelde
Name new resource files with `snake_case`
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
2021-07-30Merge pull request #35891 from Calinou/editor-viewport-highlight-context-menusRémi Verschelde
Highlight context menu items at the top of the 2D/3D viewports
2021-07-30Make the focus outline translucent for editor viewportsHugo Locurcio
This makes the focus outline less distracting on the 2D and 3D editor viewports.
2021-07-30Merge pull request #50982 from Calinou/editor-use-bullet-pointsRémi Verschelde
Use bullet points in the editor instead of dashes where relevant
2021-07-30Merge pull request #51011 from foxydevloper/drag-drop-root-defaultRémi Verschelde
2021-07-29Name new resource files with `snake_case`foxydevloper
2021-07-29Make drag and drop into viewport add to root node by defaultfoxydevloper
When dragging and dropping a texture, mesh, or scene from the FileSystem into the 2D or 3D viewport, it will be added as a child of the current scene's root node.
2021-07-29Merge pull request #51024 from Chaosus/clear_processes_idsRémi Verschelde
Clear debug process identifiers array at `stop()` to prevent invalid checking of them
2021-07-29Clear debug process id at `stop()` to prevent invalid checking of themYuri Roubinsky
2021-07-29Remove colon from column titlesHaoyu Qiu
2021-07-29Merge pull request #50989 from SirQuartz/patch-35Rémi Verschelde
Fix duplicate shortcut for paint and erase in TileMap editor
2021-07-29Hide open doc button when not inspecting anythingHaoyu Qiu
2021-07-28Fix duplicate shortcut in TileMap EditorNicholas Huelin
This pull request fixes an issue where the paint and erase tools in the TileMap editor had the same shortcut (E). The erase tool having "E" be its shortcut makes more sense than the paint tool having that be its shortcut. So I changed the paint tool's shortcut to be "D" since nothing else uses it and it's short for "draw", it's also right next to "S" on the keyboard which happens to be the selection tool.
2021-07-28Use bullet points in the editor instead of dashes where relevantHugo Locurcio
2021-07-28Merge pull request #50961 from YeldhamDev/embed_windows_fixesRémi Verschelde
Multiple cosmetic fixes for embedded windows
2021-07-28Improve the 2D editor ruler displayHugo Locurcio
- Use the ° symbol instead of "deg" to reduce clutter. - Round the displayed lengths to only one decimal instead of two to further reduce clutter. - Don't make the `px` suffix localizable, as it isn't localizable anywhere else in the editor.
2021-07-28Merge pull request #50597 from Calinou/3d-editor-improve-manipulation-gizmoRémi Verschelde
Improve the 3D editor manipulation gizmo
2021-07-28Merge pull request #50826 from Calinou/editor-improve-mesh-uv-previewRémi Verschelde
Improve MeshInstance3D UV preview in the editor
2021-07-27Multiple cosmetic fixes for embedded windowsMichael Alexsander
2021-07-27Highlight context menu items at the top of the 2D/3D viewportsHugo Locurcio
This makes it easier to notice that some menu items only appear when specific nodes are selected. This change applies to both 2D and 3D editors, including both plugin-based menus and the hardcoded 2D layout/animation contextual menus.
2021-07-27Merge pull request #50836 from Calinou/3d-editor-camera-preview-add-shortcutRémi Verschelde
Add shortcut to toggle the 3D editor's camera preview
2021-07-27Merge pull request #50933 from JFonS/gizmo_rework_improvementsRémi Verschelde
2021-07-27Merge pull request #50912 from Chaosus/fix_editor_3d_icon_theme_changingRémi Verschelde
Fix icon colors in 3d editor on theme changing
2021-07-27Fixes to editor subgizmosjfons
* Fixed subgizmo editing on scaled nodes. * Added more clarifications on the coordinate space of subgizmos. * Given input priority to the transform gizmo over subgizmo selection.
2021-07-27Merge pull request #50355 from Calinou/immediategeometry3d-remove-remainsK. S. Ernest (iFire) Lee
Remove the remains of ImmediateGeometry3D
2021-07-26Fix icon colors in 3d editor on theme changingYuri Roubinsky
2021-07-26Merge pull request #50899 from akien-mga/refrefRémi Verschelde
Use Ref<T> references as iterators where relevant
2021-07-26Use Ref<T> references as iterators where relevantRémi Verschelde
And const when possible.
2021-07-26Removing bounding box calculations from 3D scene drag and drop and collide ↵SaracenOne
against physics rather than visual geometry.
2021-07-26Merge pull request #50847 from reduz/implement-binary-shader-compilationRémi Verschelde
Implement Binary Shader Compilation
2021-07-26i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit c406c8512f059eab29a3fc135218b7b60a5315d1)
2021-07-26Implement Binary Shader Compilationreduz
* Added an extra stage before compiling shader, which is generating a binary blob. * On Vulkan, this allows caching the SPIRV reflection information, which is expensive to parse. * On other (future) RenderingDevices, it allows caching converted binary data, such as DXIL or MSL. This PR makes the shader cache include the reflection information, hence editor startup times are significantly improved. I tested this well and it appears to work, and I added a lot of consistency checks, but because it includes writing and reading binary information, rare bugs may pop up, so be aware. There was not much of a choice for storing the reflection information, given shaders can be a lot, take a lot of space and take time to parse.
2021-07-26Merge pull request #48620 from Calinou/editor-3d-hide-selection-box-no-gizmosRémi Verschelde
Hide the 3D editor selection box when View Gizmos is disabled
2021-07-26Fix undo for bucket tool in tile mapkobewi
2021-07-25Fix various typosluz paz
Follow-up typos found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25Add shortcut to toggle the 3D editor's camera previewHugo Locurcio
A Camera3D node still has to be selected to initially enable camera preview, but another node can then be selected and the preview can be disabled by pressing the shortcut key again.
2021-07-25Merge pull request #50809 from akien-mga/iterators-const-referencesRémi Verschelde
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-25Fix various typos with codespellluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25Improve MeshInstance3D UV preview in the editorHugo Locurcio
- Use background and line colors that match better with the rest of the editor. - Use translucent lines to make overlapping lines visible. - Tweak the error message to mention the UV layer in question when there is no UV for a defined layer.
2021-07-24Merge pull request #50791 from foxydevloper/select-mode-tooltip-improvationRémi Verschelde
Improve select tool's tooltip for 2D and 3D
2021-07-24Merge pull request #50816 from aaronfranke/iterators-fix-scene-importRémi Verschelde
Fix scene import following List iterator changes
2021-07-24Fix scene import following List iterator changesAaron Franke
2021-07-24Merge pull request #50786 from reduz/implement-resource-uidsRémi Verschelde
Implement Resource UIDs
2021-07-24Merge pull request #50511 from aaronfranke/iteratorsRémi Verschelde
Use C++ range iterators for Lists in many situations
2021-07-24Implement Resource UIDsreduz
* Most resource types now have unique identifiers. * Applies to text, binary and imported resources. * File formats reference both by text and UID (when available). UID always has priority. * Resource UIDs are 64 bits for better compatibility with the engine. * Can be represented and used textually, example `uuid://dapwmgsmnl28u`. * A special binary cache file is used and exported, containing the mappings. Example of how it looks: ```GDScript [gd_scene load_steps=2 format=3 uid="uid://dw86wq31afig2"] [ext_resource type="PackedScene" uid="uid://bt36ojelx8q6c" path="res://subscene.scn" id="1_t56hs"] ``` GDScript, shaders and other special resource files can't currently provide UIDs, but this should be doable with special keywords on the files. This will be reserved for future PRs.
2021-07-24Merge pull request #50795 from Calinou/editor-profiler-display-time-add-tooltipsRémi Verschelde
Add a tooltip for Inclusive and Self in the editor profiler
2021-07-24Add a tooltip for Inclusive and Self in the editor profilerHugo Locurcio
This also changes the display mode tooltips to reflect the fact that times are now displayed in milliseconds instead of seconds.