Commit Graph

3798 Commits

Author SHA1 Message Date
bruvzg
680a1c4dbb Remove deprecated LaunchImages support and switch to Storyboard by default. 2024-04-06 11:10:31 +02:00
Morris Tabor
b9f8901b5e Fix finding AnimationPlayer in scene import
The scene importer always assumed that the AnimationPlayer is called
"AnimationPlayer".

This is not always true: for example the GLTF importer just creates an
AnimationPlayer with the default name, which may be "animation_player",
depending on the project settings.

This fix instead chooses the first node that is an AnimationPlayer, and
warns if there is more than one.
2024-04-06 11:06:20 +02:00
lawnjelly
942a304f4e Physics Interpolation 2D - fix light and light occluder resetting
It turns out `NOTIFICATION_TRANSFORM_CHANGED` is deferred for these nodes, which can mean the transform is not set in the `VisualServer` until after the reset has been sent, even if the transform is set before the reset in script. This prevented the reset from acting correctly.

Here we explicitly set the transform prior to each reset, to ensure the `VisualServer` is up to date.
2024-04-06 11:02:42 +02:00
lawnjelly
010b8ba73b Optimize AnimationTree::_process_graph()
Removes redundant lookups on HashMap.
2024-04-06 10:59:29 +02:00
Andrés Botero
257ad9dc68 Allow automatic provisioning in iOS when using development signature. Implements https://github.com/godotengine/godot/pull/86748/files in 3.x. 2024-04-06 10:56:57 +02:00
lawnjelly
bb9cd55575 Physics Interpolation 2D - change transform API to use const ref 2024-04-06 10:55:53 +02:00
Fabio Alessandrelli
85146c2646 GDNative: Fix Linux arm32 warning about ignored sysv_abi attribute 2024-04-06 10:49:43 +02:00
SysError99
487b454506 Add a get_or_add method to Dictionary
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-04-06 10:46:31 +02:00
lawnjelly
da78ed110a Fix Mesh::get_face_count()
This fixes a minor bug whereby facecount was actually returning the facecount * 3.
There were no major problems from this, but it did mean the optional threshold poly count used when merging was out by a factor of 3.
2024-04-06 10:42:03 +02:00
d699df272f Fix property hint. 2024-04-04 19:55:42 +02:00
a2d07caf93 Small doc tweak. 2024-03-27 16:14:42 +01:00
4785d29a16 Rename quadrants to octants in the vertex lights 3d module. 2024-03-27 16:13:58 +01:00
fd1f8aa5d7 Update docs for the vertex lights 3d module. 2024-03-27 16:12:15 +01:00
20776d0746 Recolor vertrex light 3d's icons. 2024-03-27 16:04:06 +01:00
c0805afa6c Rework the vertex light 3d module to actually be 3d. 2024-03-27 16:02:08 +01:00
b2b13bfb80 Copy the vertex lights 2d module over to the 3d version. 2024-03-27 12:26:20 +01:00
0ee99269a6 Added an icon for VertexLight2DEnvironment. 2024-03-27 11:52:43 +01:00
e1fcf610e6 Small tweaks to docs. 2024-03-27 09:14:58 +01:00
ab1f78ec21 Added docs for VertexLight2D and VertexLight2DEnvironment. 2024-03-27 09:11:46 +01:00
2007ef0f90 Added missing z_index parameter to VertexLights2DServer::sample_light(). 2024-03-27 09:04:59 +01:00
7f5b9650d9 Docs for the VertexLights2DServer. 2024-03-27 08:58:40 +01:00
cd8f79865e Added a property to World2D for the vertex light 2d map. 2024-03-27 08:16:48 +01:00
a58eba6277 Re-extracted class docs. 2024-03-27 08:06:09 +01:00
34603315e4 Don't emit changed signal for disabled lights. 2024-03-27 08:04:16 +01:00
76c5252239 Emit changed notification when moving VertexLights. 2024-03-27 08:00:55 +01:00
a593fdff63 Fix VertexLights2DServer's changed notification setup. 2024-03-27 07:55:04 +01:00
59a4fcfc70 Allow setting abase color per map for vertex light 2ds. Also added VertexLight2DEnvironment Node so it can be changed easily using the SceneTree. 2024-03-26 16:29:02 +01:00
b353267679 Use blending for now with vertex lights in Layered Tile Maps. 2024-03-26 14:10:41 +01:00
af243a1111 Fix issues with vertex lights. 2024-03-26 14:10:14 +01:00
6e8073bbb6 Initialize layer_range properly. 2024-03-26 14:09:31 +01:00
f3d4f20344 Fix small issues with VertexLight2D. 2024-03-26 14:09:16 +01:00
6762e597e6 Properly initialize the quadrant size of maps. 2024-03-26 13:24:46 +01:00
fa68cf6872 Set up vertex lights 2d support for Layered Tile Maps. 2024-03-26 13:07:57 +01:00
645eba011b Small tweak. 2024-03-26 12:14:45 +01:00
862ab3c5ca Added a map changed signal to the VertexLights2DServer. 2024-03-26 12:11:00 +01:00
d2ed14cf26 Implemented vertex light 2d sampling. 2024-03-26 06:47:28 +01:00
42171f1fa2 Added attenuation and range properties to vertex light 2ds. 2024-03-25 21:55:27 +01:00
d7a54d702d Free vertex_lights_2d_map in World2D's destructor. 2024-03-25 09:17:44 +01:00
d08718051d Fix windows build. 2024-03-25 08:10:36 +01:00
8a567fdfa5 Added an icon for VertexLight2D. 2024-03-24 22:19:18 +01:00
3fc75ad15f Set up VertexLight2D maps. 2024-03-24 22:14:26 +01:00
02fe45b08a Added enabled property for VertexLight2Ds. 2024-03-24 22:05:00 +01:00
9df448113d Set up transform notification for VertexLight2D. 2024-03-24 21:55:18 +01:00
9ce6ebc1b5 Also set VErtexLight Properties in the server. 2024-03-24 21:50:34 +01:00
1bc9424bc8 Initialize color to white. 2024-03-24 21:46:54 +01:00
26ca3d7235 Added VertexLight2D Node. 2024-03-24 21:45:06 +01:00
e6fcd72b66 Renamed VertexLights2D to VertexLights2DServer. 2024-03-24 21:19:33 +01:00
66a2d798b3 Implemented api and data storage for the VertexLights2D singleton. 2024-03-24 20:57:35 +01:00
e3c63958d7 VertexLights2D singleton better data setup. 2024-03-24 18:02:13 +01:00
fb032a2f20 VertexLights2D Singleton initial setup. 2024-03-24 17:11:10 +01:00