Commit Graph

62270 Commits

Author SHA1 Message Date
MrPersonDev f63d76427d Increase precision of rigidbody mass 2024-03-13 21:17:25 -07:00
Lyuma 77f6e35a8d glTF importer now only stores vertices referenced by the indices per surface. 2024-03-13 18:34:55 -07:00
iltenahmet 8bfc257e63 Update docs clarifying description for get_unix_time_from_system on UTC
fix url tag in doc/classes/Time.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

fix url tag in doc/classes/Time.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

update get_unix_time_from_system description

Update doc/classes/Time.xml

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-03-13 19:28:51 -04:00
Hugo Locurcio 1e2b8992ae
Use raw string literals for BaseMaterial3D shader code generation
- Add range hints to all uniforms that match the BaseMaterial3D
  property hints, so that ranges in the inspector remain identical
  after converting to a shader.
- Add comments to describe selected options within the shader.
  This makes it easier to remember what each block of code does.
- Format code to follow the Godot shader language style guide.
2024-03-13 23:54:23 +01:00
David Snopek 308a6a4734 OpenXR: Allow GDExtensions to provide multiple, ordered composition layers
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2024-03-13 17:53:15 -05:00
Pedro J. Estébanez 605fdb655c Fix missed light clusters when inside clipped lights 2024-03-13 23:38:46 +01:00
Hugo Locurcio b2a3e8cb34
Move Max Contacts Reported below Contact Monitor in RigidBody inspector
This also changes the code used to hide the custom center of mass
property for consistency with other places in the editor
(only this approach worked for Contact Monitor as well).

The Center of Mass property hint in RigidBody2D was also modified
for better usability.
2024-03-13 23:17:35 +01:00
A Thousand Ships 0c19d0f5a0
Add extension support for argument count to `ScriptInstance` 2024-03-13 22:40:09 +01:00
Rémi Verschelde da945ce626
Merge pull request #89444 from AThousandShips/article_fix
[Doc] Fix some incorrect uses of `a/an`
2024-03-13 22:16:50 +01:00
Rémi Verschelde a1c476f9d7
Merge pull request #87680 from AThousandShips/the_angry_count
Add methods to get argument count of methods
2024-03-13 22:16:43 +01:00
A Thousand Ships 24c9d442e9
[Doc] Fix some incorrect uses of `a/an` 2024-03-13 21:20:28 +01:00
Rémi Verschelde 89ba617824
Merge pull request #89453 from adamscott/fix-gcc-build-fail
Fix GCC build failure
2024-03-13 21:09:15 +01:00
Matt Enad d4ac3fabac Fix main button margins in custom themes
Defined more theme variations and styleboxes for those variations to work around an issue where external editor themes would apply incorrect margins to certain buttons. This should eliminate clipping/alignment issues while a custom theme is in use.

Also simplified the step where margins are copied over thanks to @Rindbee 's suggestion
2024-03-13 15:38:09 -04:00
Adam Scott 9f605e0187
Fix GCC build failure 2024-03-13 15:02:17 -04:00
Rémi Verschelde 006f5bc11c
Merge pull request #89437 from jsjtxietian/help-label
Fix help label will be partly outside the view area at 150% editor scale
2024-03-13 18:41:50 +01:00
Rémi Verschelde 734bd3c8c4
Merge pull request #89434 from jsjtxietian/center-view
Fix center view button appears outside the  GenericTilePolygonEditor
2024-03-13 18:41:46 +01:00
Rémi Verschelde d30aa4bd36
Merge pull request #89432 from clayjohn/proximity-fade-limit
Set a minimum of 0.01 for proximity fade to avoid undefined behavior in shader
2024-03-13 18:41:43 +01:00
Rémi Verschelde 48b650c254
Merge pull request #89422 from Repiteo/clang-tidy-NULL
clang-tidy: Enforce `modernize-use-nullptr`
2024-03-13 18:41:39 +01:00
Rémi Verschelde 0478998148
Merge pull request #89414 from bruvzg/update_icu_msdfgen
Update ICU and msdfgen.
2024-03-13 18:41:35 +01:00
Rémi Verschelde 1030f1f6db
Merge pull request #89411 from aaronfranke/disable-3d-xr
Disable XR server when compiling without 3D
2024-03-13 18:41:31 +01:00
Rémi Verschelde 6c482fad89
Merge pull request #89207 from bruvzg/_ts_req
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs.
2024-03-13 18:41:28 +01:00
Rémi Verschelde 950d11b4ca
Merge pull request #87972 from bruvzg/img_skip
[Import] Add "skip file" import option to skip (and exclude from export) importable formats, auto set it for the images used by bitmap font.
2024-03-13 18:41:24 +01:00
Rémi Verschelde 8620f7356b
Merge pull request #83037 from dalexeev/gds-fix-warning-ignore-issues
GDScript: Fix `@warning_ignore` annotation issues
2024-03-13 18:41:21 +01:00
Aaron Franke 9e0b38ecd3 Disable XR server when compiling without 3D 2024-03-13 09:02:10 -07:00
Rémi Verschelde 6ba0179682
Merge pull request #64488 from reduz/interactive-music-take3
Add interactive music support
2024-03-13 14:32:21 +01:00
bruvzg 3bb5047db3
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs. 2024-03-13 12:57:39 +02:00
jsjtxietian 856e071762 Fix help label will be partly outside the view area at 150% editor scale 2024-03-13 17:50:02 +08:00
bruvzg ac7583e449
[NativeMenu] Implement native popup menu support on Windows. 2024-03-13 10:51:38 +02:00
bruvzg 0d02568ff8
Update ICU and msdfgen. 2024-03-13 09:12:50 +02:00
jsjtxietian f59c147d1f Fix center view button appears outside the GenericTilePolygonEditor 2024-03-13 12:46:14 +08:00
clayjohn f4c6c807eb Set a minimum of 0.01 for proximity fade to avoid undefined behavior in shader 2024-03-12 17:10:58 -07:00
Juan Linietsky 43b78cd2ad Add interactive music support
This PR adds 3 types of audio streams used for interactive music support.

* AudioStreamInteractive: Allows setting several sub-streams and transition between them with many options.
* AudioStreamPlaylist: Allows sequential or shuffled playback of a list of streams.
* AudioStreamSynchronized: Allows synchronous playback of several streams, the volume of each can be controlled.

Theese three stream types can be combined to create complex, layered interactive music and transitions between them, similar to software such as WWise.
2024-03-12 21:54:59 +01:00
bruvzg fee14eb5e8
[Import] Add "skip file" import option to skip (and exclude from export) importable formats, auto set it for the images used by bitmap font. 2024-03-12 21:34:40 +02:00
Danil Alexeev ef1909fca3
GDScript: Fix `@warning_ignore` annotation issues 2024-03-12 19:00:06 +03:00
Thaddeus Crews 3b3e2374c9
clang-tidy: Enforce `modernize-use-nullptr` 2024-03-12 10:59:53 -05:00
Rémi Verschelde 61282068f4
Merge pull request #89420 from RandomShaper/sort_scs
Ensure specialization constants come sorted from reflection
2024-03-12 16:28:12 +01:00
Rémi Verschelde 20373d026d
Merge pull request #89419 from KoBeWi/losing_control
Fix some AcceptDialog argument types
2024-03-12 16:28:10 +01:00
Rémi Verschelde 48ad83a4e7
Merge pull request #88827 from adamscott/add-browse-folder-icon
Add browse folder and browse file icons
2024-03-12 16:28:03 +01:00
Adam Scott 44d3ce2c11
Add browse folder and browse file icons 2024-03-12 09:57:59 -04:00
Pedro J. Estébanez 49625beac2 Ensure specialization constants come sorted from reflection 2024-03-12 14:42:01 +01:00
kobewi a7b6bcb988 Fix some AcceptDialog argument types 2024-03-12 14:33:43 +01:00
Rémi Verschelde b18942d429
Merge pull request #89405 from KoBeWi/receiver,_do_you_copy
Select method name edit when opening connection dialog
2024-03-12 14:23:06 +01:00
Rémi Verschelde 061e0c758d
Merge pull request #89395 from bruvzg/rtl_ts_img_range
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 14:23:03 +01:00
Rémi Verschelde 9c99d4c3b4
Merge pull request #89249 from /connect-signal-fix 2024-03-12 14:22:56 +01:00
passivestar 3199c294f9 Allow connecting signals to existing methods without opening the script editor 2024-03-12 15:50:54 +04:00
Lyuma db2c9571bb glTF export: morph targets are relative, so use zero as reference 2024-03-12 02:39:15 -07:00
K. S. Ernest (iFire) Lee 1e63a2a132 Update buffer view target handling, encode sparse accessors as vec3.
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-03-12 02:39:00 -07:00
bruvzg 433de7f1a8
[RTL] Use "visible characters" property for inline object visibility 2024-03-12 11:28:45 +02:00
kobewi c1a034297d Select method name edit when opening connection dialog 2024-03-12 00:51:50 +01:00
Rémi Verschelde 22c20cea6e
Merge pull request #89397 from clayjohn/XR-shader-warning
Improve warning when XR shaders are not enabled
2024-03-11 23:48:25 +01:00