summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
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-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
2020-10-30Add icons for the 'CanvasGroup' and 'CodeEdit' nodesMichael Alexsander
2020-10-30Refactor pixel snapping.reduz
-Rename pixel_snap to snap_2d_to_vertices -Added snap_2d_to_transforms which is more useful Fixes #41814 Solves proposal https://github.com/godotengine/godot-proposals/issues/1666 Supersedes #35606, supersedes #41535, supersedes #41534
2020-10-29Merge pull request #43192 from YeldhamDev/poly2deditor_buttons_flatRémi Verschelde
Set previous tool buttons in the Polygon2D editor to be flat again
2020-10-29Set previous tool buttons in the Polygon2D editor to be flat againMichael Alexsander
2020-10-29Fix "Move Points" button sometimes not showing up on UV mode in the ↵Michael Alexsander
Polygon2D editor
2020-10-28i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit 284dae021ae6bbee920fedcb55412a501ee106d8)
2020-10-27Fixes property revert for inherited child nodesHaoyu Qiu
2020-10-27Merge pull request #42677 from groud/fix_error_on_attach_scriptRémi Verschelde
Fix error on attaching script
2020-10-26Merge pull request #43109 from bruvzg/gridmap_ubRémi Verschelde
Fix uninitialized `GridMapEditor::node` and `InputMapEditor::setting` variables.
2020-10-26Fix error on attaching scriptGilles Roudière
2020-10-26Fix uninitialized `GridMapEditor::node` and `InputMapEditor::setting` variables.bruvzg
2020-10-27Fixes property revert after saving instanced sceneHaoyu Qiu
2020-10-26Merge pull request #42995 from Ev1lbl0w/bugfix-zoom-visibilityRémi Verschelde
Fix visibility issue with zoom label
2020-10-26Fix visibility issue with zoom labelEv1lbl0w
2020-10-26Merge pull request #43018 from groud/improve-file-sortingRémi Verschelde
Improve file sorting
2020-10-26Merge pull request #42229 from Calinou/2d-editor-improve-undo-log-messagesRémi Verschelde
Improve undo log messages in the 2D editor for additional context
2020-10-26Merge pull request #43070 from Calinou/optimize-svgsRémi Verschelde
Optimize SVG using `svgcleaner --multipass`
2020-10-26Improve file sortingGilles Roudière
2020-10-26Merge pull request #43075 from Xrayez/color-ramp-to-gradientRémi Verschelde
Fixup `ColorRamp` to `Gradient` renames
2020-10-26Merge pull request #43084 from DavidSichma/toggle0Rémi Verschelde
fix toggle mask bit 0
2020-10-26Merge pull request #43050 from Pleto/enhance_tileset_sortingRémi Verschelde
Enhancement for tileset sorting
2020-10-26Enhancement for tileset sortingPleto
2020-10-26fix toggle mask bit 0David Sichma
2020-10-25Gizmo handles transparent againDavid Sichma