Age | Commit message (Collapse) | Author |
|
Also made aa size consistent when computing uv coordinates and fixed a warning about aa_border_width not initialized in some cases.
fixes #34830
|
|
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
|
|
Fixed StyleBoxFlat border size with aa on
|
|
The different Rect used to draw rings were wrongly calculated when anti-aliasing was enabled. Also getting rid of some overlapping glitches when using transparent colors for the filling or borders.
Fixes #34104
|
|
This value should be sufficient even for very large corner radii.
This closes #34354.
|
|
This change allows StyleBox preview to take shadows and content margins into account to display how a whole panel would be rendered.
The preview control clips contents so that in any case it doesn't bleed on controls around.
Fixes #33801
|
|
Causes unnecessary computations and drawing, and a division by zero when calculating uv coordinates.
This case happened with ScriptEditor's member overview (ItemList), initialized with a minimum width of 0.
Fixes #33634
|
|
|
|
|
|
|
|
Note: removed (unused and not implemented) support for multiple border colors
|
|
|
|
CONNECT_REFERENCE_COUNTED
Also, cleanup unnessesary calls to update() and NOTIFICATION_THEME_CHANGED.
Fixes #25904.
|
|
|
|
Happy new year to the wonderful Godot community!
|
|
-Removed one and zero hints for properties, replaced by default value
|
|
|
|
|
|
|
|
-Plenty of fixes and improvements to new inspector
-Fixes that were needed to make inspector work better
|
|
Fix StyleBox ignoring region rect and ProgressBar using center size
|
|
|
|
ProgressBar used the center size of the stylebox to calculate its minimum size, thus disallowing certain setups.
If the old behaviour is wanted, it can be forced by providing a custom minimum size, or by giving proper margins to the stylebox.
Fixes #17779.
|
|
|
|
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
|
|
|
|
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.
|
|
Happy new year to the wonderful Godot community!
|
|
|
|
- filled -> draw_center
- is_draw_center -> is_draw_center_enabled
- get_draw_center -> is_draw_center_enabled
|
|
|
|
|
|
Remove addition border
|
|
|
|
|
|
toger5/styleBoxFlat_corner_detail_value_limitation
styleBoxFlat: clamp corner_detail + aa_size
|
|
|
|
- style box flat was always drawn with 8 verts per corner in case it
was a rounded corner... now it uses only one vert if it has no
rounded corner.
|
|
|
|
Added Tile and TileFit to StyleBoxes
|
|
|
|
- removed only the bindings because the drawing code is not done yet
- kept c++ functions for setting individual border color for future implementation
|
|
- corner and border are decreased if necassary to achoieve clean stylboxes
- prohibits wired drawing artifacts when using wrong values
- corner radius are relative to the partner corner when they would result in glitches
|
|
- corner radius bindings
- shadow
- antiAliasing
- CornerDetail
|
|
- now use polygons!
- renamed blend -> blend_border
- draw_center -> filled
- GDScript biding
|
|
Was already implemented for Patch9 boxes, but wasn't exposed here.
Allows for use in other GUI elements like panels and buttons.
|
|
|
|
Texture region now updates when changing an Atlas region rect
|
|
|