summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2023-01-11Merge pull request #71127 from reduz/drag-forward-to-callablesRémi Verschelde
Change set_drag_forwarding() to use callables.
2023-01-10Change set_drag_forwarding() to use callables.Juan Linietsky
* This solution is much cleaner than the one in 3.x thanks to the use of callables. * Works without issues in any language (no need to worry about camel or snake case). * Editor code uses a compatibility function (too much work to redo). Fixes #59899
2023-01-10Merge pull request #71148 from stmSi/canceling-popupmenu-dont-disconnectRémi Verschelde
Fix canceling add_node Popup doesn't disconnect previous node.
2023-01-10Fix canceling add_node Popup doesn't disconnect previous node.stmSi
2023-01-10Fix undo of editing animation length with spinner by adding flagSilc Renew
2023-01-09Merge pull request #70863 from bruvzg/win_init_minRémi Verschelde
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
2023-01-09Merge pull request #69616 from reduz/change-uuidRémi Verschelde
Ability to change a resource UID from API
2023-01-09Ability to change a resource UID from APIJuan Linietsky
* Works for text, binary and imported resources * Allows better clean up of duplicate files. TODO (future PRs): * Use this API for assigning new UIDs to copied files. * Use this API for UID conflict on FS scanning (if more than one file has the same UID, the newer one(s) should get assigned a different UID).
2023-01-09Removed unused property hints and `Object::get_translatable_strings()`Juan Linietsky
* Remove unused `EditorPropertyMember` and related hints, previouly used by VisualScript. Such logic should be implemented in the VS module itself. * As the above broke compatibility with the VS module, clean up the other hacks that were still in core in support of VisualScript. * `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's `get_translatable_strings()`, which is a legacy function not used anywhere. So both are removed. * Reordered some usage flags after the above removal to minimize the diff. * General clean up. Fixes #30203. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-09Fix inconsistent state of Controls when editing and running scenesYuri Sizov
2023-01-09Merge pull request #70580 from timothyqiu/drop-externRémi Verschelde
Fix error when dropping script into script editor
2023-01-09Merge pull request #70920 from KoBeWi/exhibit_inside_catalogmapRémi Verschelde
Add Show in FileSystem option in the inspector
2023-01-09Merge pull request #71045 from reduz/use-bitfield-in-core-typesRémi Verschelde
Use BitField<> in core type masks
2023-01-08Add Show in FileSystem option in the inspectorkobewi
2023-01-08Merge pull request #70994 from reduz/prevent-inspector-resource-recursionRémi Verschelde
Prevent recursion (and hence crash) in inspector resource assignment.
2023-01-08Merge pull request #70463 from DarkKilauea/nav-server-constRémi Verschelde
[4.x] Rework const on NavigationServer methods
2023-01-08Merge pull request #71068 from DarkMessiah/fix_about_godotRémi Verschelde
Fix UTF-8 encoding for copyright in About dialog
2023-01-08Merge pull request #71057 from EricEzaM/editor-node-cleanupRémi Verschelde
Remove unnecessary changing of shortcut name in editor node.
2023-01-08Merge pull request #71055 from EricEzaM/66424-fix-undo-redoRémi Verschelde
Fix Undo/Redo not working until Scene menu is opened.
2023-01-08Merge pull request #71036 from Calinou/shader-editor-tweak-disabled-branch-colorRémi Verschelde
Tweak text color for disabled preprocessor branches in the shader editor
2023-01-08Merge pull request #70923 from KoBeWi/actual_resourceRémi Verschelde
Refactor inspector code for getting resource
2023-01-08Use BitField<> in core type masksJuan Linietsky
* All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
2023-01-08Fix UTF-8 encoding for copyright in About dialogStanislav Labzyuk
2023-01-08Remove unnecessary changing of shortcut name.Eric M
The same effect which was desired here can just be done with `set_item_text(...)`, which is what this PR does. It removes the need to constantly update the shortcut name when the scene menu is opened.
2023-01-08Fix Undo/Redo not working until Scene menu is opened.Eric M
2023-01-07Rework const on NavigationServer methodsJosh Jones
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-07Tweak text color for disabled preprocessor branches in the shader editorHugo Locurcio
This makes text within disabled branches easier to distinguish from comments when using a non-default editor syntax theme. (The default editor syntax theme uses the same color as the text with 50% opacity for comments, which means it looks the exact same.)
2023-01-07Merge pull request #70939 from bruvzg/win_screen_2Rémi Verschelde
Add support for the custom initial screen for the main window, fix primary screen detection.
2023-01-07Merge pull request #70902 from Cretezy/2d-polygon-indices-visibilityRémi Verschelde
Fix "2D Polygon indices are barely visible on bright background" (#38009)
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
2023-01-06Fix "2D Polygon indices are barely visible on bright background" (#38009)Charles Crete
Co-authored-by: Ethan <epruhl102@gmail.com>
2023-01-06Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde
Add PropertyInfo overload for GLOBAL_DEF
2023-01-06Merge pull request #70999 from timothyqiu/unique-res-confirmRémi Verschelde
Fix unreadable text in Make Sub-Resources Unique window
2023-01-06Merge pull request #70639 from Chaosus/vs_uintYuri Rubinsky
Closes https://github.com/godotengine/godot/issues/70634
2023-01-06Fix unreadable text in Make Sub-Resources Unique windowHaoyu Qiu
2023-01-06Prevent recursion in inspector resource assignment.Juan Linietsky
Fixes #43177
2023-01-06Fix errors when creating/deleting `VisualShaderNodeExpression` in graphYuri Rubinsky
2023-01-06Add `uint` type support to visual shadersYuri Rubinsky
2023-01-06Merge pull request #70500 from hakro/readd-renderer-optionsRémi Verschelde
Bring back the renderer options button on the main editor
2023-01-06Merge pull request #70960 from Maran23/4-x-c#-rect-propsRémi Verschelde
Added Rect (rect_) properties to the c# migration table
2023-01-06Merge pull request #70968 from kleonc/tile-atlas-view-update-zoom-and-panningRémi Verschelde
`TileAtlasView` Update zoom and panning before emitting signal
2023-01-06Merge pull request #70963 from YuriSizov/editor-dead-codes-societyRémi Verschelde
Simplify some editor plugin logic and remove dead code
2023-01-06Merge pull request #70675 from ZangEldor/pot-generating-fixRémi Verschelde
Fix generating POT for multiline messages
2023-01-05TileAtlasView Update zoom and panning before emitting signalkleonc
2023-01-05Added Rect (rect_) properties to the c# migration tableMarius Hanl
2023-01-05Simplify some editor plugin logic and remove dead codeYuri Sizov
2023-01-05Fixed issue #70617 : generating POT for multiline messageEldor Zang
Fixed the issue and now each message's line is suceeded by a \n. Fixes #70614
2023-01-05Merge pull request #70907 from xiongyaohua/fix_path3d_gizmo_not_showRémi Verschelde
Remove side effect of the `handles` method
2023-01-05Merge pull request #65609 from dalexeev/animated-spriteRémi Verschelde
`AnimatedSprite{2D,3D}` improvements
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".