summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2020-11-18Merge pull request #43639 from timothyqiu/rotation-fixRémi Verschelde
Fixes rotation in select mode on macOS
2020-11-18Merge pull request #43654 from qarmin/multiple_projectsRémi Verschelde
Allow to open multiple projects when some are not imported or without main scene.
2020-11-18Allow to open multiple projects when some are not imported or without main ↵Rafał Mikrut
scene.
2020-11-18glTF: Workaround import failure with invalid embedded imagesRémi Verschelde
image/gif is not supported in the glTF 2.0 specification, these files are broken. But let's be lenient... Fixes #43638.
2020-11-18Fixes rotation in select mode on macOSHaoyu Qiu
2020-11-18Fixed deletion of nodes with exported node pathsMarcus Brummer
2020-11-17Fix CLI export when export_path is in preset.Fabio Alessandrelli
Export presets contains the export_path option, to specify the default export location, but the CLI export option disregarded that, and always required and export path to be specified. After this commit, if the export path is not specified in the command, the one in the preset will be used, erroring only if it's not present or invalid.
2020-11-17Merge pull request #38201 from Calinou/editor-f2-rename-nodeRémi Verschelde
Require Ctrl for switching between editors, bind F2 to Rename Node
2020-11-17Merge pull request #43614 from akien-mga/save-debugger-optionsRémi Verschelde
Debugger: Save options in project metadata
2020-11-17i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit e95af7ae9b883151e6de1d31f94950833ae5b478)
2020-11-17Debugger: Save options in project metadataRémi Verschelde
Fixes #19542.
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-16Merge pull request #43538 from KoBeWi/gotta_check_them_allRémi Verschelde
Allow folder checking in export preset file list
2020-11-16Merge pull request #43479 from Calinou/use-low-editor-scale-autoRémi Verschelde
Use 75% editor scale on small displays automatically
2020-11-16Use 75% editor scale on small displays automaticallyHugo Locurcio
This also makes borders always display in the editor theme, even if the editor scale is below 100%. Otherwise, "focus" outlines would vanish when using an editor scale below 100%, which harms usability.
2020-11-16Merge pull request #41263 from Calinou/filesystem-dock-rename-delete-optionRémi Verschelde
Rename the "Delete" option in the FileSystem dock to "Move to Trash"
2020-11-16Merge pull request #40967 from Calinou/editor-layout-improve-messagesRémi Verschelde
Improve messages related to overriding the default editor layout
2020-11-16Merge pull request #42977 from Calinou/roughness-normal-import-more-image-typesRémi Verschelde
Allow more image types in the roughness texture's Src Normal import hint
2020-11-16Merge pull request #42526 from aaronfranke/project-in-non-emptyRémi Verschelde
Allow creating projects in non-empty folders with a confirmation popup
2020-11-16Merge pull request #43481 from nathanfranke/android-export-fixRémi Verschelde
Fix Android Export jarsigner error with *.import whitelist
2020-11-16Merge pull request #42729 from opl-/feat/better-debugger-errorsRémi Verschelde
Improve output in Debugger Errors tab for scripts
2020-11-14Allow folder checking in export preset file listTomasz Chabora
2020-11-13Fix Android Export jarsigner error with *.import whitelistNathan Franke
2020-11-13SceneTree: Fix reparent crash with animation tracks renaming disabledRémi Verschelde
This check was there since the first commit in 2014, but a later feature added in 2018 with #17717 did not properly update the code while adding non animation-related code in `perform_node_renames`. Fixes #40532.
2020-11-12Merge pull request #43408 from rcorre/path-gizmos-4.0Rémi Verschelde
Make Path3D handles visible and consistent with 2D.
2020-11-12Proposal 1246: Make Path3D handles more visible.Ryan Roden-Corrent
Resolves godotengine/godot-proposals#1246. It is difficult to tell the difference between the handles for adjusting curves and the points themselves when looking at a Path gizmo. This re-uses the icons used for Path2D. Unlike Path2D, this does not use a different icon for smooth vs sharp points, as using a potentially different material for each point would prevent batching the points in add_handles (and adding them out-of-order messes up other logic based on handle indices). This includes a public API change to allow specifying a texture for a handle material. This allows spatial gizmo plugins to customize the way a handle is rendered, if desired, but does not break existing behavior (as providing no texture uses the default). The path handle icons were resized as well. 16x16 is the standard icon size. These icons were 10x10 rather than 16x16, and appeared rather small in the editor. To resize, I: - Opened the original in Inkscape - Resized the document to 16x16 - Opened the transform dialog - Scaled by 160% proportionally - Used Align/Distribute to center on the page - Saved the document - Cleaned with `svgcleaner --multipass`
2020-11-12Merge pull request #43220 from YeldhamDev/canvasgroup_codeedit_iconsRémi Verschelde
Add icons for the 'CanvasGroup' and 'CodeEdit' nodes
2020-11-11Restore screenshot button.K. S. Ernest (iFire) Lee
2020-11-11Merge pull request #43451 from timothyqiu/move-line-cursorRémi Verschelde
Keep cursor relative position after move lines up/down in text editor
2020-11-11Refactor variant built-in methods yet again.reduz
* Using C-style function pointers now, InternalMethod is gone. * This ensures much better performance in typed code. * Renamed builtin_funcs to utility_funcs, to avoid naming confusion
2020-11-11Keep cursor relative position after multiline moveHaoyu Qiu
2020-11-10Create Variant built-in functions.reduz
-Moved Expression to use this, removed its own. -Eventually GDScript/VisualScript/GDNative need to be moved to this. -Given the JSON functions were hacked-in, removed them and created a new JSONParser class -Made sure these functions appear properly in documentation, since they will be removed from GDScript
2020-11-10doc: Fixups to #43419 which added operators in the docsRémi Verschelde
- Escape the method names as e.g. `operator <` is invalid XML. - Add a hack to merge all String % operator definitions for each Variant type as a single one with `Variant` argument type. - Add support for the new qualifiers in makerst.py. - Drop unused `doc_merge.py`, seems to date back to when we had all the documentation in a single `classes.xml`.
2020-11-10Register methods for drawing 3D editor overlaysTomasz Chabora
2020-11-10Merge pull request #43397 from ↵Rémi Verschelde
Calinou/fix-filesystem-copy-path-shortcut-conflict Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
2020-11-10Allow creating projects in non-empty folders with a confirmation popupAaron Franke
2020-11-09Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
2020-11-09Make sure operators appear in the docs tooreduz
Add "operator" and "constructor" qualifiers to make it easier to see in the docs.
2020-11-09Merge pull request #40106 from Calinou/improve-3d-selection-boxRémi Verschelde
Improve the 3D editor selection box appearance
2020-11-09Variant: Rename Type::_RID to Type::RIDRémi Verschelde
The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
2020-11-09Improve the 3D editor selection box appearanceHugo Locurcio
- Draw two boxes slightly offset from each other to give the illustion of a thicker outline. - Decrease the offset compared to the 3D node's AABB to give a more accurate representation of its size. - Make the box fully visible instead of only displaying the corners. - Draw a x-ray version of the box that's more translucent, but visible through walls. This helps make the box more visible while still having a sense of depth. - Use an orange color similar to the 2D editor.
2020-11-09Refactored variant constructor logicreduz
2020-11-08Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcutHugo Locurcio
This closes #43396.
2020-11-08Merge pull request #43380 from YeldhamDev/light2d_iconsRémi Verschelde
Add icons for the new Light2D nodes
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-07Refactored variant setters/gettersreduz
-Discern between named, indexed and keyed -Get direct access to functions for typed GDScript and GDNative bindings -Small changes to some classes in order to work with the new setget binder
2020-11-07Add icons for the new Light2D nodesMichael Alexsander
2020-11-06Refactored Variant Operators.reduz
-Using classes to call and a table -For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
2020-11-04Move call to update the 3D grid into check for updating the viewAaron Franke
2020-11-02Merge pull request #42979 from Mallos/fix/tilemap-floodfillRémi Verschelde
fix(editor): TileMap floodfill with same tile ID and different variation