summaryrefslogtreecommitdiff
path: root/editor/plugins
AgeCommit message (Collapse)Author
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-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-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-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-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-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-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-23Improve select tool's tooltipfoxydevloper
- Makes tips clearer and more consistent. - Removes outdated "shift+v" that doesn't work - Adds Ctrl+RMB for adding nodes at position - Removes tip for non-existent Alt+Drag in 3D select tool
2021-07-23Merge pull request #50748 from JFonS/gizmo_reworkRémi Verschelde
Node3D gizmo improvements
2021-07-23Node3D gizmo improvementsjfons
* Clean-up of node_3d_editor_plugin.{h,cpp}: removed unused code, fixed some bugs. * Moved node_3d_editor_gizmos.{h,cpp} to editor/plugins. * Added support for multiple gizmos per node. This means custom gizmos will no longer override the built-in ones and that multiple gizmos can be used in more complex nodes. * Added support for handle IDs. When adding handles to a gizmo, an ID can be specified for each one, making it easier to work with gizmos that have a variable number of handles. * Added support for subgizmos, selectable elements that can be transformed without needing a node of their own. By overriding _subgizmo_intersect_frustum() and/or _subgizmo_intersect_ray() gizmos can define which subgizmos should be selected on a region or click selection. Subgizmo transformations are applied using get/set/commit virtual methods, similar to how handles work.
2021-07-23Don't set metadata_label font if it doesn't existkobewi
2021-07-23Merge pull request #50768 from Calinou/editor-asset-library-urls-clarifyRémi Verschelde
Clarify the purpose of the default asset library URLs in the editor
2021-07-23Merge pull request #37760 from KoBeWi/rect_edit_level_upRémi Verschelde
Allow for easier editing of rect CollisionShape2D
2021-07-23Clarify the purpose of the default asset library URLs in the editorHugo Locurcio
`localhost` was removed as it won't work out of the box. It can be added by the user if they're working on the asset library itself. This won't affect existing installations due to how the editor settings are stored, but existing installations will keep working fine.
2021-07-22Fix `TexturePreview` crashingLightning_A
2021-07-21Implement atlas merging and tile proxiesGilles Roudière
2021-07-21Merge pull request #50521 from aaronfranke/iseqapproxRémi Verschelde
Use `is_equal_approx` in more places
2021-07-21Use is_equal_approx in more placesAaron Franke
2021-07-20Fix hidden seperators when horizontal frames is 1foxydevloper
2021-07-20Merge pull request #38317 from verdog/get-cam-2d-4.0Rémi Verschelde
add viewport.get_camera_2d()
2021-07-20Minor enhancements for the TileMap editorMichael Alexsander
2021-07-20Merge pull request #50621 from KoBeWi/feel_good_scrollRémi Verschelde
Add scrolling to tile atlas view
2021-07-20Add scrolling to tile atlas viewkobewi
2021-07-20Merge pull request #50631 from timothyqiu/add-item-typeRémi Verschelde
Improve add item type UI in theme editor
2021-07-20Merge pull request #50500 from ↵Rémi Verschelde
LightningAA/simplify-subviewport-preview-editor-theme Remove unnecessary `get_editor_theme()` in `SubViewportPreview`
2021-07-20Improve add item type UI in theme editorHaoyu Qiu
2021-07-20Merge pull request #50605 from Calinou/tweak-shader-code-styleRémi Verschelde
Use C++11 raw literals for shader code to improve readability
2021-07-20Merge pull request #50624 from foxydevloper/translate-more-stringsRémi Verschelde
Make various strings translatable
2021-07-20Merge pull request #50498 from LightningAA/zoom-out-alt-4.0Rémi Verschelde
Add shift + [1-5] keyboard shortcuts to zoom out
2021-07-19Add scaling to the curve editor's handlesAtlinx
This fixes issue #50617
2021-07-19Make various strings translatablefoxydevloper
2021-07-19Merge pull request #50606 from Chaosus/textedit_fix_guttertypeRémi Verschelde
Fixed typos in `TextEdit::GutterType` enum
2021-07-19Fixed typos in `TextEdit::GutterType` enumYuri Roubinsky
2021-07-19Use C++11 raw literals for shader code to improve readabilityHugo Locurcio
In files that have lots of branching, `\t` was replaced with a tab character instead.
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-07-19Improve the 3D editor manipulation gizmoHugo Locurcio
- Allow some tolerance when clicking the plane move/scale, even if the click is actually slightly outside the plane (similar to Blender). - Make the rotate manipulation circles visually thinner to be less distracting. - Make the hovered color less saturated to be more distinguishable from the non-hovered state. - Don't set brightness above 1.0 to prevent the gizmo from glowing when hovered.