Age | Commit message (Collapse) | Author |
|
Correctly flip texture src region
|
|
|
|
|
|
When the current item is -1, then the loop will infinitely repeat,
constantly setting i to zero and never exiting.
|
|
|
|
Improvements to incremental search
|
|
|
|
|
|
This reverts commit b5deb1dc72d8c4c92c9850379522926e60ddf7d0, reversing
changes made to 2cc8848c3c3815c6f72ce5f9b75bfab8a1498292.
This change causes unwanted regression.
It's too risky to have scroll back to top in ItemList.clear()
|
|
Back scroll bar to start when changing folder
|
|
Fixes #25316.
|
|
|
|
Using codespell 1.14.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
|
|
Happy new year to the wonderful Godot community!
|
|
-Removed one and zero hints for properties, replaced by default value
|
|
|
|
|
|
|
|
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
|
|
|
|
Fixes #21086.
|
|
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
|
|
Fixes #20119 where newly installed templates were not detected.
Also fix a bug with preset deletion where it would attempt to
edit an already removed preset. For this I made it so that
ItemList::deselect_all() also resets `current` to -1, as a manual
ItemList::deselect(idx) already does.
|
|
|
|
Perfect FreeType-based outlines for DynamicFonts
|
|
Use exact positioning for the ItemList::get_tooltip method.
|
|
- Implement outlines based on FreeType Stroker API. This allows
artifact-free results, similar to what you will see in Web or any text
editing tools. Outline is a part of DynamicFont rather than Label,
because outlines have to be baked into the font's atlas. Font has a
default outline_color and a Label can specify font_outline_modulator
that will be multiplied with the Font's color to get the final result.
- draw_char now has to be called twice to fully render a text - first
with p_outline == true for each character and then with
p_outline == false for each character.
- Number of draw-calls is reduced from 5 to 2 per outlined character.
- Overall cleanup of DynamicFont code, extracted duplicated code pieces
into separate methods.
- The change is backward-compatible - Labels still have outline
properties that work exactly as they worked before.
Closes #16279.
|
|
ItemList needs to check against the number of items available when the user moves the selection via "ui_right" action.
|
|
|
|
also make TileSetEditorPlgn tile list updates the preview modulate
|
|
expose Itemlist.move_item and optimize functionality
|
|
|
|
|
|
|
|
Boost drawing speed of ItemLists with many items
|
|
method/help lists.
|
|
|
|
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
|
|
|
|
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
|
|
A few small Debugger->Errors tab enhancements:
|
|
|
|
Happy new year to the wonderful Godot community!
|
|
1. Added "Clear" button to clear list.
2. Errors list now populated with newest items comes first, so no need to scroll everytime.
3. Added PopupMenu to errors list with ability to quickly Copy error text & details.
|
|
Item list: added new signal - nothing_selected (when mouse clicked on empty space), and two new functions - unselect_all() and is_any_selected()
|
|
|
|
_WHEN_ no any file/folder is under mouse cursor.
|
|
|
|
|