Commit Graph

1770 Commits

Author SHA1 Message Date
227b5d3f86 Don't create a default layer in LayeredTileMap's constructor. 2024-04-20 09:45:16 +02:00
0f2879c180 Fix MMImage. 2024-04-19 21:38:47 +02:00
62694baa23 Now the input_properties and output_properties property won't get saved directly in MMNode (this was the original intent, nothing should change other than MMMaterial files should be a bit smaller now.). They are still visible in the editor. Also make sure an MMNodeUniversalProperty can only be registered once. 2024-04-19 21:30:37 +02:00
e99e5a87bc Make mat maker's image picker button's dialog use resources. 2024-04-19 21:26:37 +02:00
e39251ce36 Added entity_resource_base_world_speed property to the ESS singleton. 2024-04-15 14:00:15 +02:00
b5ce7b875e Codetyle updates. 2024-04-15 13:59:36 +02:00
3f2ed008d1 Fix compile errors. 2024-04-14 16:55:07 +02:00
Kirill Diduk
1a231787b0 Check duplicate keys in dictionary literals: enums and const variables
Check identifiers (const variables and unnamed enums) and named
enums when parsing dictionary literals whether the keys are not
duplicated.

In case of duplicate key is encountered, highlight the line with it
and print error message:
`Duplicate key "foo" found in Dictionary literal`

This commit is a logical continuation of the commit dab73c7 which
implemented such checks only for literal keys (which fixed #7034).

Apart from that, this commit also fixes the issue with the error
message itself, which was shown one line below the duplicated key
in case it was the last one in the dictionary literal and there
was no hanging comma.

Also, the format of the error message has been changed so that now
the error message also contains the value of the key which is duplicated.
Instead of `Duplicate key found in Dictionary literal`, it now prints
`Duplicate key "<value>" found in Dictionary literal`

Fixes #50971
2024-04-14 16:37:55 +02:00
952c307f8a Use internal process for updating a dirty skeleton instead of the MessageQueue. This fixes BoneAttachments being a frame late. 2024-04-11 22:23:47 +02:00
dff6d9e9e3 Added copy pose and paste pose tools to the skeleton editor. Also added separators to it's dropdown menu. 2024-04-11 21:35:35 +02:00
3b25f0c0d5 Fix regression in LayeredTileMaps. 2024-04-09 13:52:02 +02:00
936c2e07bc Don't warn about layers not being y-sorted when there are no layers. 2024-04-06 21:08:44 +02:00
d255d381cb Fix layer navigation keys in LayeredTileMapLayerEditor even when not using layer nodes. 2024-04-06 21:04:57 +02:00
aa82d20e4b Added a get_layer() helper method to the LayeredTileMap. 2024-04-06 21:03:59 +02:00
fd5be3f26c Fix layer navigation keys in LayeredTileMapLayerEditor. 2024-04-06 20:32:39 +02:00
d63e561693 Make RAO and VertexLights2D work with the new LayeredTileMap setup. 2024-04-06 19:44:35 +02:00
3ac3c7da24 Backported from godot4: [TileMap] Fix forcing cleanup on exiting tree/canvas
- AThousandShips
09edece17d
2024-04-06 19:07:12 +02:00
cb55fa2292 Backported from godot4: Fixes "no cached rect" errors in TileMapLayer editor
- groud
c928273c6c
2024-04-06 18:59:41 +02:00
4cad999f60 Backported from godot4: Correctly update TileMapLayer highlighting when disabling it
- groud
256a6713f2
2024-04-06 18:42:37 +02:00
8648a32667 Backported from Godot4: Expose TileMapLayer
- groud
3cd4b2859c
2024-04-06 18:35:58 +02:00
bruvzg
620b30a86a Backport locale selection improvements. 2024-04-06 12:37:02 +02:00
786cf445ac Sync NativeScript's PROPERTY_USAGE flags with Object's. 2024-04-06 12:14:09 +02:00
Fabio Alessandrelli
85146c2646 GDNative: Fix Linux arm32 warning about ignored sysv_abi attribute 2024-04-06 10:49:43 +02:00
d699df272f Fix property hint. 2024-04-04 19:55:42 +02: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
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
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
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