Commit graph

13587 commits

Author SHA1 Message Date
Rémi Verschelde
0f710e688c
Merge pull request #83517 from YuriSizov/for-NON-separator-items-add-some-padding-for-the-content
Fix incorrect offset of `PopupMenu` separator icons
2023-10-18 16:54:52 +02:00
Rémi Verschelde
65e7ddadd7
Merge pull request #83489 from groud/implement_tile_map_normals
Allow normal maps on TileMaps that use texture padding
2023-10-18 16:54:44 +02:00
Rémi Verschelde
680b59954b
Merge pull request #81638 from jsjtxietian/fix-spinBox-reset-text-when-redraw
Fix SpinBox will reset unsubmited text when redrawing
2023-10-18 16:54:32 +02:00
Gilles Roudière
73f72409f5 Allow normal maps on TileMaps that use texture padding 2023-10-18 14:55:44 +02:00
Rémi Verschelde
024172b4eb
Merge pull request #82409 from KoBeWi/3_in_1
Document, cleanup and fix some theme properties
2023-10-18 00:00:36 +02:00
Yuri Sizov
ccb989569d Fix incorrect offset of PopupMenu separator icons 2023-10-17 20:38:35 +02:00
Mathias
d4ced2506d Fix unit suffix for HingeJoint3D's target velocity 2023-10-17 18:53:55 +02:00
Rémi Verschelde
ab8fad1b24
Merge pull request #83475 from Eoin-ONeill-Yokai/bug/tilemap-materials
Fix bug where TileMap wouldn't update material correctly on assignment
2023-10-17 16:13:12 +02:00
Rémi Verschelde
3e8dc9df0a
Merge pull request #83286 from bronsonholden/fix-text-edit-hscroll-jitter
Remove vertical scrollbar padding from line width calc
2023-10-17 16:12:58 +02:00
Eoin O'Neill
f17a569ccf Fix bug where TileMap will not update material correct on assignment
This seemed to be a simple case of a missing condition in an if
statement with a few different flags. I'm not super familiar with the
tilemap code but hopefully this is the correct place to add this check.

Fixes #83474
2023-10-16 21:02:46 -07:00
Raul Santos
ae9ac5c76e
Remove AnimationMixer bindings only bound in the editor 2023-10-16 17:56:14 +02:00
Rémi Verschelde
2ba83f2578
Merge pull request #83427 from kleonc/camera2d-screen-center-position-when-rotated
Fix screen center position returned for rotated Camera2D
2023-10-16 13:01:23 +02:00
Rémi Verschelde
cbfa941061
Merge pull request #83365 from Malcolmnixon/fix-disabled-nav-region
Fix enabling NavigationRegion3D saved disabled
2023-10-16 13:00:35 +02:00
Rémi Verschelde
75b4fd84e3
Merge pull request #83323 from Rindbee/fix-not-update-remote-local-transform-in-2d
Fix cannot update remote after disabling `use_global_coordinates` in `RemoteTransform2D`
2023-10-16 13:00:12 +02:00
Rémi Verschelde
72b14b54a1
Merge pull request #73502 from Kurble/text-edit-scrolling-precision
Fix code editor scrolling experience on track pads
2023-10-16 12:58:57 +02:00
Rémi Verschelde
aa0be93a89
Merge pull request #83417 from Rubonnek/show-animation-mixer-warning-when-relevant
Show AnimationMixer warning for non-numeric types only when relevant
2023-10-16 10:43:26 +02:00
Rémi Verschelde
e551d5f523
Merge pull request #83327 from AThousandShips/doc_suggestion
Make error suggestion less ambiguous
2023-10-16 10:41:46 +02:00
Rémi Verschelde
c106ff8b35
Merge pull request #83296 from Wierdox/fix_phantom_tab_right_button
Fix phantom tab right button
2023-10-16 10:40:59 +02:00
Rémi Verschelde
7c088f246e
Merge pull request #82846 from SaracenOne/network_authority_instance_placeholders
Copy network authority when instancing placeholders
2023-10-16 10:38:34 +02:00
kleonc
836d80b306 Fix screen center position returned for rotated Camera2D 2023-10-16 09:02:49 +02:00
Wilson E. Alvarez
4c8497092a
Show AnimationMixer warning for non-numeric types only when relevant 2023-10-15 20:53:33 -04:00
Malcolm Nixon
0646b230e4 Fix enabling NavigationRegion3D saved disabled
This PR fixes issue #83364 by always registering the region when it enters the tree, and instead using region_set_enabled to control whether its enabled. The same logical changes have been applied to NavigationRegion2D.
2023-10-14 23:17:57 -04:00
风青山
30904ed3bc Fix cannot update remote after disabling use_global_coordinates in RemoteTransform2D
Due to the optimization in `CanvasItem`, `global_transform` is only
updated when `get_global_transform()` is called, and then notify
`NOTIFICATION_TRANSFORM_CHANGED`. That is, in the case where
`global_transform` is not obtained, the notification will not be sent.

So we use `NOTIFICATION_LOCAL_TRANSFORM_CHANGED` in this case. Use in
combination to prevent certain optimizations.

Same change for `RemoteTransform3D`, to prevent the same optimization
from being used in `Node3D` in the future.
2023-10-15 00:16:52 +08:00
A Thousand Ships
bea7cc784d Make error suggestion less ambiguous 2023-10-14 14:56:05 +02:00
Wierdox
7b33ad354a Fix phantom tab right button. 2023-10-13 16:34:05 -07:00
Rémi Verschelde
1d3854665f
Merge pull request #83273 from groud/disable_tilemap_navigation
Allow disabling the built-in tilemap navigation
2023-10-13 22:19:48 +02:00
Rémi Verschelde
135fa1ef5d
Merge pull request #83179 from clayjohn/tangents-sanitize
Sanitize tangents when creating mesh surfaces to avoid triggering the compressed mesh path in the shader
2023-10-13 22:17:02 +02:00
Rémi Verschelde
afa262ae6b
Merge pull request #82068 from DarioSamo/lightmapper-indirect-bounces
Rewrite the GPU Lightmapper's indirect logic to match Godot 3.5's CPU Lightmapper.
2023-10-13 22:16:13 +02:00
Rémi Verschelde
74d7796dbd
Merge pull request #80916 from ajreckof/fix-deferred-mode-not-working-for-color-picker-sliders
Fix ColorPicker deferred mode not working for sliders.
2023-10-13 22:15:45 +02:00
Bronson Holden
ed16df1807 Remove vertical scrollbar padding from line width calc
Visibility of the vertical scrollbar is already accounted for in
`_update_wrap_at_column` which in turn affects max line width of
the text area.
2023-10-13 10:50:01 -07:00
Dario
a9a197d2dc Rewrite the GPU Lightmapper's indirect lighting logic to match Godot 3.5's CPU Lightmapper.
Port over the logic from Godot 3.5 for indirect lighting. This should fix many issues about indirect bounces causing more energy and improve the overall quality of the result.
2023-10-13 14:33:55 -03:00
Gilles Roudière
c820c8d1e6 Allow disabling the built-in tilemap navigation 2023-10-13 17:42:28 +02:00
clayjohn
e3d31837eb Sanitize tangents when creating mesh surfaces to avoid triggering the compressed mesh path in the shader 2023-10-13 08:54:49 -06:00
ajreckof
3160add2b0 Fix ColorPicker deferred mode not working for sliders. 2023-10-13 14:35:47 +02:00
bruvzg
9a1e0e4aef
[Bitmap fonts] Add support for scaling. 2023-10-13 12:57:45 +03:00
Rémi Verschelde
cd9fd6ddfd
Merge pull request #83216 from dalexeev/code-editor-fix-region-doc-comment
Code Editor: Fix regression with using doc comments for code regions
2023-10-13 11:46:44 +02:00
Rémi Verschelde
cbb95bc8ab
Merge pull request #83211 from clayjohn/cleanup-mesh-stuff
Cleanup instances of using uint32_t for mesh formats
2023-10-13 11:46:20 +02:00
Rémi Verschelde
111a91a09f
Merge pull request #83194 from jsjtxietian/fix-bool-varying-code-gen
Fix bool varying's generated code will be modified with flat
2023-10-13 11:45:09 +02:00
Danil Alexeev
881fe67d94
Code Editor: Fix regression with using doc comments for code regions 2023-10-13 09:38:03 +03:00
Clay
acb65377cd Cleanup instances of using uint32_t for mesh formats
And tidy up some leftovers from the attribute compression PR
2023-10-12 22:01:41 +02:00
jsjtxietian
0f7a97eba0 Fix bool varying's generated code will be modified with flat 2023-10-12 19:42:18 +08:00
Bram Buurlage
1cf6b2cc2e
Put cheaper condition first
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-10-12 12:27:35 +02:00
jsjtxietian
0ecef0e236 Fix parameter shader node not declared when only connected to a VaryingSetter 2023-10-12 17:53:26 +08:00
Rémi Verschelde
f2f6f99241
Merge pull request #83169 from clayjohn/Mesh-format
Fix a few cases where surface format is still 32 bits
2023-10-11 23:54:40 +02:00
clayjohn
1df50c78df Fix a few cases where surface format is still 32 bits 2023-10-11 14:56:19 -06:00
Rémi Verschelde
9e02dcd44c
Merge pull request #82100 from bitsawer/fix_shader_globals_override
Fix ShaderGlobalsOverride property handling
2023-10-11 22:50:08 +02:00
Rémi Verschelde
9957f1ad4e
Merge pull request #83151 from kleonc/tile-map-layer-draw-index-update
Update `TileMap` layer draw index when it's dirty
2023-10-11 18:31:12 +02:00
Rémi Verschelde
05d6183dee
Merge pull request #83145 from bitsawer/fix_basematerial3d_update
Fix BaseMaterial3D update with certain material settings
2023-10-11 18:31:06 +02:00
kleonc
a529bf81b8 Update TileMap layer draw index when it's dirty 2023-10-11 16:55:19 +02:00
Gilles Roudière
a3bfd9b797 Warn users when TileMap is set as Y-sorted but no layer is 2023-10-11 13:44:28 +02:00