Commit Graph

4815 Commits

Author SHA1 Message Date
9162f27836 Merge pull request #59314 from reduz/add-static-methods-to-classdb 2022-03-22 19:22:46 +01:00
2f651277da Add static method support to ClassDB
* Based on the work done for Variant in the past.
* Added `ClassDB::bind_static_method`
* Cleaned up ClassDB::bind_method to use variadic templates.

This adds support for having static methods in Object derived classes.
Note that this does not make it work yet in GDScript or Mono and, while it works for GDExtension, GodotCPP needs to be updated.
2022-03-22 16:27:34 +01:00
4c55a6529a Merge pull request #59354 from Chaosus/astar3d 2022-03-22 13:15:21 +01:00
7538ad81ac Merge pull request #59410 from bruvzg/mac_menu_features 2022-03-22 12:58:29 +01:00
2a116f601b Merge pull request #59275 from bruvzg/ft_brotli 2022-03-22 12:47:00 +01:00
595995a5a7 [macOS] Add missing global menu features. 2022-03-22 12:38:14 +02:00
21fc3cbe81 update _init() description
Specify details regarding required parameters.
2022-03-21 09:13:32 -06:00
16e96e52d3 Merge pull request #59352 from winterpixelgames/notify-local-transform-constant 2022-03-21 12:26:26 +01:00
6bf01e0567 Mention default output node name for AnimationNodeBlendTree 2022-03-21 18:02:40 +08:00
aa8ff21b2a Merge pull request #59142 from Calinou/doc-multiplayerpeerextension
Document the MultiplayerPeerExtension class
2022-03-21 00:54:10 +01:00
640099cce5 Bind NOTIFICATION_LOCAL_TRANFORM_CHANGED 2022-03-20 11:34:01 -06:00
7913e04950 Rename AStar to AStar3D 2022-03-20 17:34:40 +03:00
cb51df3286 Merge pull request #59343 from madmiraal/fix-57943
Ensure minimum modifiers are pressed when matching actions
2022-03-20 11:26:05 +01:00
ea20049afc Ensure minimum modifiers are pressed when matching actions 2022-03-20 08:02:54 +00:00
342dac77d4 Hide text and icon properties in OptionButton 2022-03-19 13:36:10 +01:00
288cdca71d Merge pull request #59290 from rburing/get_process_info_docs
PhysicsServer3D docs: sync phrasing of get_process_info with 2D docs
2022-03-19 08:30:44 +01:00
a1d4f8d389 PhysicsServer3D docs: sync phrasing of get_process_info with 2D docs 2022-03-18 19:53:14 +01:00
9c231c2c1a Merge pull request #59254 from Calinou/doc-node-owner
Mention that Node's `owner` must be set for persistence to work
2022-03-18 19:24:07 +01:00
be1acf3b92 Mention that Node's owner must be set for persistence to work
This is already done in `Node.add_child()` documentation, but
this copies the note in `Node.owner` for good measure.
2022-03-18 18:12:44 +01:00
19950076b1 Merge pull request #58394 from bruvzg/rtl_hint 2022-03-18 14:49:13 +01:00
5c8bd6fd71 Merge pull request #58233 from bruvzg/gde_ts 2022-03-18 14:29:58 +01:00
e07a8f0aa6 Add brotli decoder and WOFF2 support. 2022-03-18 15:09:38 +02:00
acc9b5b390 Merge pull request #55399 from RPicster/particlesmaterial-sphere-emittershape
ParticleMaterial: Sphere emission shape emitting from the volume.
2022-03-18 08:21:59 +01:00
5d23613836 Merge pull request #49738 from Calinou/ssao-gi-default-half-resolution
Compute SSAO at half resolution by default
2022-03-18 07:14:23 +01:00
756178d342 Merge pull request #59087 from clayjohn/sky-mode
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum
2022-03-18 00:09:35 +01:00
deb1342036 Make TabBar/Container default their alignments to the left instead of center 2022-03-17 18:12:23 -03:00
c45d2c242b Replace DirectionalLight3D's use_in_sky_only with sky_mode enum
3 options are available:

- Light and Sky (default)
- Light Only (new)
- Sky Only (equivalent to `use_in_sky_only = true`)

Co-authored by: clayjohn <claynjohn@gmail.com>
2022-03-17 14:00:02 -07:00
8ed8a7a22b doc: Sync missing Color value update after #59229
Missed in CI as the Mono build where this is checked is temporarily disabled.
2022-03-17 19:53:10 +01:00
bc576af969 Merge pull request #57675 from TokageItLab/fix-blending 2022-03-17 10:49:34 +01:00
f19cd44346 Unify TextServer built-in module and GDExtension code. 2022-03-17 08:15:29 +02:00
a635ecf6d4 Add item tooltip access to OptionButton 2022-03-17 13:50:16 +08:00
2832b55b23 Document the MultiplayerPeerExtension class 2022-03-16 23:36:41 +01:00
c9d764e14a Merge pull request #59140 from reduz/physics-server-extension 2022-03-16 17:11:40 +01:00
98d0af7d5c Implement GDExtension export plugin. 2022-03-16 11:16:19 +02:00
b06d253920 Fix blend animation to solve TRS track bug & blend order inconsistency 2022-03-16 05:11:55 +09:00
8b547331be Create GDExtension clases for PhysicsServer3D
* Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support)
* Some changes on native struct binding for PhysicsServer

This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
2022-03-15 18:39:31 +01:00
e255a10682 Merge pull request #59143 from Calinou/doc-range-value-changed 2022-03-15 08:40:29 +01:00
cdbb31adc9 Document Range's value_changed signal is also emitted with code changes
This also mentions that the signal is potentially emitted every frame,
which can have performance implications.
2022-03-14 21:32:23 +01:00
32f2c47356 Remove generating of null comparison operators from documentation 2022-03-14 22:35:23 +03:00
95b6c6cf9a Merge pull request #58693 from Calinou/doc-physics-shapes 2022-03-14 15:08:58 +01:00
43120c2e2d Merge pull request #59086 from Calinou/doc-nodepath-stringname
Improve documentation for NodePath and StringName
2022-03-14 14:14:58 +01:00
b7bc8dbebe Merge pull request #57392 from madmiraal/implement-3888 2022-03-14 08:31:58 +01:00
3c53752b4a Cleanup embed subwindows getters 2022-03-13 18:20:53 +01:00
47c35f5b96 Merge pull request #59108 from KoBeWi/somewhere_on_the_screen 2022-03-13 18:10:33 +01:00
972bca75a8 Merge pull request #59107 from otonashixav/expose-add-animation-slice 2022-03-13 17:18:42 +01:00
bcf13dc175 Expose methods for screen-space transforms 2022-03-13 16:05:08 +01:00
a0e720efb2 Expose RenderingServer::canvas_item_add_animation_slice in GDScript 2022-03-13 22:53:24 +08:00
51896c4682 Improve documentation for NodePath and StringName
- Update the NodePath shorthand prefix for `master`.
- Document the StringName construction shorthand (`&"example"`).
- Cross-link between NodePath and StringName, as these are related
  concepts.
2022-03-13 01:04:51 +01:00
6721290831 Merge pull request #58018 from Calinou/procedural-sky-add-cover-texture
Add sky cover texture for ProceduralSkyMaterial
2022-03-13 00:56:09 +01:00
71da4c4132 Merge pull request #54399 from Calinou/filedialog-current-properties-hint-no-editor
Don't store and show current file/directory/path FileDialog properties
2022-03-12 20:48:32 +01:00