summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2021-07-05Merge pull request #50070 from timothyqiu/emu-numpadRémi Verschelde
Add numpad emulation in 3D viewport
2021-07-05Merge pull request #50046 from Calinou/editor-camera-preview-allow-view-menuRémi Verschelde
Allow using the 3D editor's View menu while previewing a camera
2021-07-04Clean up Treereduz
Fixes some problems introduced by #49917 * Tree used minimum size as a stretch ratio, so it forced a minimum size of 1. * Minimum size redone, stretch ratio moved to a separate setting * Fitting to contents was enforced, this is more intuitive, but in many situations this is undesired. * Added a clip content option for situations where fit to contents does not apply. * Icon would scroll with the item, making it invislbe if the item is too long. * Made icon always appear to the right (or left if RTL is enabled) of the visible item space.
2021-07-04Merge pull request #50145 from YeldhamDev/script_create_diag_cleanupRémi Verschelde
Minor cleanup of the "New Script" dialog
2021-07-04Minor cleanup of the "New Script" dialogMichael Alexsander
2021-07-03Add icons for more file types in the editor asset installerHugo Locurcio
2021-07-03Fix Render Inforeduz
* Fixed and redone the process to obtain render information from a viewport * Some stats, such as material changes are too difficult to guess on Vulkan, were removed. * Separated visible and shadow stats, which causes confusion. * Texture, buffer and general video memory can be queried now. * Fixed the performance metrics too.
2021-07-03Support single quote when dropping files to scriptkobewi
2021-07-02Add numpad emulation in 3D viewportHaoyu Qiu
2021-07-01Use PROPERTY_USAGE_NONE instead of 0 for no property usageAaron Franke
Also use const more often.
2021-07-01Merge pull request #50040 from reduz/fix-renderingserver-bindingsRémi Verschelde
Clean up RenderingServer and its bindings
2021-07-01Clean up RenderingServer and its bindingsreduz
* Rewrote bindings for RenderingServer. * They are now all up to date. * Several unused methods and deprecated features were cleaned up.
2021-07-01Allow using the 3D editor's View menu while previewing a cameraHugo Locurcio
This is already allowed when using cinematic preview, but not when previewing a Camera3D the usual way. Many operations from the View menu still work while previewing a camera, such as switching between debug draw modes and toggling information panes.
2021-07-01Merge pull request #49994 from akien-mga/script-duplicate-selectionRémi Verschelde
Script editor: Rename 'Clone Down' to 'Duplicate Selection'
2021-07-01Merge pull request #50038 from Calinou/editor-add-lock-group-shortcutsRémi Verschelde
Add keyboard shortcuts for grouping and locking nodes, change grid toggle
2021-07-01Merge pull request #50030 from bruvzg/rtl_editor_spinRémi Verschelde
Add right-to-left layout support for `EditorSpinSlider`.
2021-06-30Add keyboard shortcuts for grouping and locking nodes, change grid toggleHugo Locurcio
- Locking nodes can now be done by pressing Ctrl + L, and unlocking with Ctrl + Shift + L. - Grouping nodes is now done by pressing Ctrl + G, and ungrouping with Ctrl + Shift + G (similar to Inkscape). - Toggling the grid is now done by pressing the `#` key (also similar to Inkscape). This change was needed as Ctrl + G now groups selected nodes. Different shortcuts are used for the lock/unlock and group/ungroup actions, so that the shortcuts are idempotent.
2021-06-30Add right-to-left layout support for `EditorSpinSlider`.bruvzg
2021-06-30Coding style fix in editor NodePath updatePouleyKetchoupp
Added r_ prefix for reference arguments that can be modified.
2021-06-30Merge pull request #50014 from reduz/remove-immediateRémi Verschelde
Deprecate ImmediateGeometry
2021-06-30Deprecate ImmediateGeometryreduz
* Removed entirely from RenderingServer. * Replaced by ImmediateMesh resource. * ImmediateMesh replaces ImmediateGeometry, but could use more optimization in the future. * Sprite3D and AnimatedSprite3D work again, ported from Godot 3.x (though a lot of work was needed to adapt them to Godot 4). * RootMotionView works again. * Polygon3D editor works again.
2021-06-30Merge pull request #50009 from reduz/fix-suffixes-and-degreesRémi Verschelde
Fix editor suffixes and degrees conversion
2021-06-30Fix editor suffixes and degrees conversionreduz
* Functions to convert to/from degrees are all gone. Conversion is done by the editor. * Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees. * Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m" * In general, can add suffixes for EditorSpinSlider Not covered by this PR, will have to be addressed by future ones: * Ability to switch radians/degrees in the inspector for angle properties (if actually wanted). * Animations previously made will most likely break, need to add a way to make old ones compatible. * Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes. * Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.
2021-06-30Merge pull request #50012 from YeldhamDev/script_diag_fixRémi Verschelde
Make contents of "Create Script" dialog expand with the window size
2021-06-29Make contents of "Create Script" dialog expand with the window sizeMichael Alexsander
2021-06-29Fixes to 2D viewportreduz
* Editor 2D viewport now uses embedded subwindows (windows no longer pop up) * Restored the ability to disable 3D on the 2D viewport (makes 3D not display on 2D when there is a camera on the scene)
2021-06-29Merge pull request #49295 from foxydevloper/fix-focus-filterRémi Verschelde
Fix "Filter Files" shortcut by merging duplicate functions
2021-06-29Tweak the 2D game camera override tooltips to match 3DHugo Locurcio
2021-06-29i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit 30bb133e01d2a1ba61fcd1b27a2ce17aa46aff3a)
2021-06-29Merge pull request #49812 from nekomatata/node-path-editor-updateRémi Verschelde
NodePath properly updated in the editor in more cases when nodes are moved or renamed
2021-06-29Merge pull request #49636 from LightningAA/add-feedback-button-4.0Rémi Verschelde
Add "Suggest a Feature" to the help dialog.
2021-06-29Script editor: Rename 'Clone Down' to 'Duplicate Selection'Rémi Verschelde
Fixes #36670.
2021-06-29Merge pull request #49719 from LightningAA/rename-node-is-ancestor-ofRémi Verschelde
Rename `is_a_parent_of()` to `is_ancestor_of()`
2021-06-29Merge pull request #49980 from EricEzaM/fix-default-log-stateRémi Verschelde
EditorLog filter buttons are now enabled/on by default
2021-06-29Implement painting properties over TileSetsGilles Roudière
2021-06-29EditorLog filter buttons are now enabled/on by defaultEric M
2021-06-28Merge pull request #49917 from groud/tree_disable_scrollRémi Verschelde
Allow disabling scrolling in Tree and implement horizontal scrolling
2021-06-28NodePath properly updated in the editor in more casesPouleyKetchoupp
Fix more cases of node path needing an update when nodes are renamed or moved in the editor. Built-in node properties: Before, node paths were checked only for script export variables. Now all properties are checked from the node, which includes built-in node properties. Allows proper node path updates for nodes like remote transform, physics joints, etc. Arrays and dictionaries: Node paths nested in array and dictionary properties are now also updated in the editor. Also update the documentation to be clear about node path update in the editor and at runtime. Co-authored-by: latorril <latorril@gmail.com>
2021-06-28Implement Tree's internal minimum width calculationGilles Roudière
2021-06-28Fix auto-connection from output node to input (VisualShaders)Yuri Roubinsky
2021-06-26Merge pull request #49891 from Calinou/3d-editor-add-grid-toggle-shortcutRémi Verschelde
Use Ctrl + G to toggle the 3D editor grid visibility by default
2021-06-25Implement native extension systemreduz
* Deprecates GDNative in favor of a simpler, lower level interface. * New extension system allows registering core engine classes. * Simple header interface in gdnative_interace.h
2021-06-25Fix RichTextLabel custom_effects export to be properly filtered in the EditorEric M
2021-06-24Use Ctrl + G to toggle the 3D editor grid visibility by defaultHugo Locurcio
The 2D editor grid toggle shortcut has been changed to use `KEY_MASK_CMD` for consistency. This means it will now use Cmd on macOS instead of Ctrl.
2021-06-24Merge pull request #49650 from KoBeWi/FindReplaceCrashRémi Verschelde
Fix crash with FindReplaceBar
2021-06-24Fix crash with FindReplaceBarkobewi
2021-06-24Tweak script export text in the export dialog to be more explicitHugo Locurcio
2021-06-23Improve error message when there are no meshes to bake for 3D occlusionHugo Locurcio
2021-06-23Merge pull request #49853 from AndreaCatania/AndreaCatania-patch-4Rémi Verschelde
Remove early return from gizmo intersect_ray
2021-06-23Remove early return from gizmo intersect_rayAndreaCatania
Remove early returns from `EditorNode3DGizmo::intersect_ray` that is preventing to have gizmos that use Mesh collision + Segment collision + Icon.