summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2021-07-10Improve the Export All button display in the export dialogHugo Locurcio
- Update the disabled status when changing an export path. - Display a tooltip that states why the button is disabled. - Update the Export All dialog message to have a more friendly tone. - Suffix button texts with "...", as they display another dialog when clicked. This closes #33293.
2021-07-08Implement Range Iteratorsreduz
This PR implements range iterators in the base containers (Vector, Map, List, Pair Set). Given several of these data structures will be replaced by more efficient versions, having a common iterator API will make this simpler. Iterating can be done as follows (examples): ```C++ //Vector<String> for(const String& I: vector) { } //List<String> for(const String& I: list) { } //Map<String,int> for(const KeyValue<String,int>&I : map) { print_line("key: "+I.key+" value: "+itos(I.value)); } //if intending to write the elements, reference can be used //Map<String,int> for(KeyValue<String,int>& I: map) { I.value = 25; //this will fail because key is always const //I.key = "hello" } ``` The containers are (for now) not STL compatible, since this would mean changing how they work internally (STL uses a special head/tail allocation for end(), while Godot Map/Set/List do not). The idea is to change the Godot versions to be more compatible with STL, but this will happen after conversion to new iterators have taken place.
2021-07-08Fix node list with Add Node Herekobewi
2021-07-07Fix a connection bug in visual shadersYuri Roubinsky
2021-07-07Merge pull request #50236 from Calinou/editor-preview-sun-sky-add-root-nodeRémi Verschelde
Add a root Node3D automatically if absent when adding preview sun and sky
2021-07-07Merge pull request #50222 from Calinou/editor-information-use-multiply-signRémi Verschelde
Use the Unicode multiplication symbol for the viewport size display
2021-07-07Add a root Node3D automatically if absent when adding preview sun and skyHugo Locurcio
This makes for a smoother prototyping process compared to displaying an error message.
2021-07-06Merge pull request #50226 from Calinou/voxelgi-fix-warning-spamRémi Verschelde
Fix warning message spam when a VoxelGI node is selected in the editor
2021-07-06Fix warning message spam when a VoxelGI node is selected in the editorHugo Locurcio
Support for anisotropy in VoxelGI was removed during its development due to the high cost. This was a leftover from anisotropy support.
2021-07-06Use the Unicode multiplication symbol for the viewport size displayHugo Locurcio
2021-07-06Make `EditorVCSInterface` proxy functions virtual in C++Andrii Doroshenko (Xrayez)
Allows to implement VCS plugins via C++ modules without affecting the existing script instance mechanism.
2021-07-06Merge pull request #37983 from EricEzaM/set-main-scene-add-select-current-optionRémi Verschelde
Added 'Select Current' option when user is prompted to select main scene after clicking play
2021-07-07Added 'Select Current' option when user is prompted to select main scene ↵Eric M
after clicking play
2021-07-06Added EditorInspectorPlugin to aid in editing InputEvents in resources and ↵Eric M
shortcuts
2021-07-06Merge pull request #42745 from Pineapple/search-results-limitRémi Verschelde
Remove search results limit in FileSystem dock
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