| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
They're moved to an `editor` subfolder so that we can easily handle them
separately.
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove EditorNode usage from the Navigation editor plugin.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792.
As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used
everywhere but only in critical code paths. For theme methods specifically, it
was by design that only getters use `SNAME` and not setters.
|
| |
|
| |
|
|\ |
|
| | |
|
|/ |
|
|
|
|
| |
Happy new year to the wonderful Godot community!
|
|
|
|
|
|
| |
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
|
| |
|
|
|
|
|
| |
This matches the name of the GDScript function (except it's uppercase
here).
|
| |
|
|
|
|
| |
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.
This is part of ongoing work to optimize GUI and the editor.
|
|
|
|
|
|
| |
- Added options to trim the text in case it overruns
- Added more autowrap modes
- Improved line breaking, which ignores trailing spaces
|
| |
|
|\
| |
| | |
Fix GridMap still drawing when Alt+Tabbing
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Apparently this feature utilized a completely commented out 7+ years old
method, effectively doing nothing. Since it was designed with a completely
different editor design in mind it is pretty much incompatible and as such
it's best to remove it for now.
|
| | |
|
|/
|
|
| |
InputEventWithModifiers properties/methods
|
| |
|
| |
|
|
|
|
|
| |
-Changed theme setting name to make more sense of what it does
-Reduced amount of minimum characters, so minimum size is smaller.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
|
|\
| |
| | |
Rename unselect to deselect
|
| | |
|
|/ |
|
|
|
|
| |
This makes that visible stuff invisible to ReflectionProbes, whose preview in the editor shouldn't involve them.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
ToolButton has no redeeming differences with Button;
it's just a Button with the Flat property enabled by default.
Removing it avoids some confusion when creating GUIs.
Existing ToolButtons will be converted to Buttons, but the Flat
property won't be enabled automatically.
This closes https://github.com/godotengine/godot-proposals/issues/1081.
|
|
|
|
| |
Extra `_2d` suffixes are removed from 2D methods accoringly.
|
|
|
|
|
| |
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Which means that reduz' beloved style which we all became used to
will now be changed automatically to remove the first empty line.
This makes us lean closer to 1TBS (the one true brace style) instead
of hybridating it with some Allman-inspired spacing.
There's still the case of braces around single-statement blocks that
needs to be addressed (but clang-format can't help with that, but
clang-tidy may if we agree about it).
Part of #33027.
|
|
|
|
|
| |
Using clang-tidy's `modernize-use-bool-literals`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
|
|
|
|
|
|
|
| |
This reverts commit ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3.
This was wrong, `d` is not a distance but the `d` constant in the
parametric equation `ax + by + cz = d` describing the plane.
|
| |
|
|\
| |
| | |
Change non-existent World to World3D
|