Age | Commit message (Collapse) | Author |
|
|
|
GDScript: Fix extending abstract classes, forbid their construction
|
|
|
|
So the same code can be used in editor and debug exports ("release" is
kept for consistency).
|
|
Fix TAB key usage in EditorSpinSlider (and hence inpector).
|
|
Split pause() from AnimationPlayer's stop()
|
|
* This ensures that the tab key usage is correct in all situations in EditorSpinSlider
* The ESC key can also close the lineedit popup.
I can't find a proper issue to fix, but partially solves the concerns raised in #37723.
|
|
|
|
|
|
Setup "Open in File Manager" as shortcut
|
|
Add missing functions in the Control node when converting project.
|
|
Propagate allowed input types to `event_listener` when setting them on `InputEventConfigurationDialog`
|
|
|
|
Ensure that the cached layout mode is in sync
|
|
Change set_drag_forwarding() to use callables.
|
|
|
|
`InputEventConfigurationDialog`
|
|
* 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
|
|
Fix canceling add_node Popup doesn't disconnect previous node.
|
|
|
|
|
|
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
|
|
Ability to change a resource UID from API
|
|
* 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).
|
|
* 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>
|
|
|
|
|
|
Fix error when dropping script into script editor
|
|
Add Show in FileSystem option in the inspector
|
|
Use BitField<> in core type masks
|
|
|
|
Prevent recursion (and hence crash) in inspector resource assignment.
|
|
[4.x] Rework const on NavigationServer methods
|
|
Fix UTF-8 encoding for copyright in About dialog
|
|
Remove unnecessary changing of shortcut name in editor node.
|
|
Fix Undo/Redo not working until Scene menu is opened.
|
|
Tweak text color for disabled preprocessor branches in the shader editor
|
|
Refactor inspector code for getting resource
|
|
* 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.
|
|
|
|
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.
|
|
|
|
`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.
|
|
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.)
|
|
Add support for the custom initial screen for the main window, fix primary screen detection.
|
|
Fix "2D Polygon indices are barely visible on bright background" (#38009)
|
|
screen detection.
|
|
Co-authored-by: Ethan <epruhl102@gmail.com>
|
|
Add PropertyInfo overload for GLOBAL_DEF
|
|
Fix unreadable text in Make Sub-Resources Unique window
|