Commit Graph

59045 Commits

Author SHA1 Message Date
MythTitans 509e03c821 Fix normals computation at the 'seam' of smoothed sphere and cylinder shapes 2022-02-16 22:23:28 +01:00
Marc Gilleron c69d303ba9 Add missing flag when encode_variant writes math types with doubles 2022-02-16 20:47:36 +00:00
Rémi Verschelde 73ece5ba19 Merge pull request #58197 from timothyqiu/tree-item-button-doc
Fix documentation about `TreeItem` button ID
2022-02-16 21:33:29 +01:00
Rémi Verschelde 009254d87c Merge pull request #58187 from jakobbouchard/notification-switch-chunk-c
Convert _notification methods to switch - Chunk C
2022-02-16 20:58:55 +01:00
SaracenOne 657b9b6596 Fix local variables not showing when breaking on final line 2022-02-16 18:12:38 +00:00
Jakob Bouchard 6553f5c242 Convert _notification methods to switch - Chunk C 2022-02-16 13:03:05 -05:00
Paulo Poiati 94ef200bab Fix extension registration order. 2022-02-16 14:46:33 -03:00
Haoyu Qiu bb766a8fb6 Fix documentation about TreeItem button ID 2022-02-17 01:00:16 +08:00
Rémi Verschelde 5d5f80b529 Merge pull request #58190 from MisoMosiSpy/vs_icons 2022-02-16 17:18:15 +01:00
Rémi Verschelde 51a00c2855 Merge pull request #58182 from akien-mga/style-cleanup-if-semicolons-deadcode 2022-02-16 16:55:07 +01:00
Rémi Verschelde 33c7f52f36 Merge pull request #58169 from megalobyte/update-notificatin-if-to-switch-batch-B 2022-02-16 16:39:23 +01:00
MisoMosiSpy fa2026365d Added icons for missing types in visual script’s icon list. 2022-02-16 20:31:18 +05:30
Fazil Babu 771170e7b0 Default material is assigned to meshes without material for glTF export 2022-02-16 20:19:19 +05:30
Rémi Verschelde b5c0a892d4 Merge pull request #58163 from jmb462/notification-chunk-A 2022-02-16 15:26:02 +01:00
Bastiaan Olij d7465d7c6a We were only getting our available shader features, now we also enabling them 2022-02-17 00:50:38 +11:00
megalobyte 8824b6c5e9 Update if == NOTIFICATION_* to switch statements to match coding style 2022-02-16 08:44:37 -05:00
SaracenOne d45c3cdd1d Fix error when assigning to an explicitly annotated variant from an ambiguous source 2022-02-16 13:25:27 +00:00
Rémi Verschelde eeda603355 Merge pull request #58055 from markdibarry/add_get_line_offset 2022-02-16 14:07:23 +01:00
Rémi Verschelde fe8f4cebce Merge pull request #58154 from markdibarry/fix_scroll_to_line 2022-02-16 14:07:06 +01:00
Rémi Verschelde b8b4580448 Style: Cleanup single-line blocks, semicolons, dead code
Remove currently unused implementation of TextureBasisU, could be re-added
later on if needed and ported.
2022-02-16 14:06:29 +01:00
Yuri Roubinsky a85b000967 Fix antialiasing for beginning/end of line in canvas_item_add_polyline 2022-02-16 14:34:42 +03:00
jmb462 dcd2a92af3 Port existing _notification code to use switch statements (part 1/3) 2022-02-16 11:38:24 +01:00
Rémi Verschelde f5b9cbaff6 Merge pull request #58176 from timothyqiu/find-nearest 2022-02-16 11:01:13 +01:00
Rémi Verschelde a269e78344 Merge pull request #58175 from clayjohn/VULKAN-sky-only-bug 2022-02-16 10:56:34 +01:00
Rémi Verschelde 6c40d1ab9b i18n: Sync classref translations with Weblate
(cherry picked from commit 9cb169504a5f529a542841bff8ff6cf91cd0b82d)
2022-02-16 10:09:29 +01:00
Rémi Verschelde c4c29728a3 i18n: Sync editor translations with Weblate
Minor proofreading of new OSX export strings.

(cherry picked from commit 9f09251027a485f14740dce7b753e962d26bff78)
2022-02-16 10:08:40 +01:00
Rémi Verschelde 3881bc6ca1 Merge pull request #58159 from KoBeWi/source_jumper 2022-02-16 10:03:24 +01:00
Rémi Verschelde a2e540f617 Merge pull request #58173 from akien-mga/js-build-fix-is_project_manager 2022-02-16 09:43:03 +01:00
Rémi Verschelde dbb64e5705 Merge pull request #58174 from timothyqiu/vs-set-index-crash 2022-02-16 09:42:01 +01:00
Rémi Verschelde f6f1593db4 Merge pull request #44716 from Calinou/os-add-get-processor-name 2022-02-16 09:34:53 +01:00
clayjohn a38c3a763a Properly exclude lights that are marked as sky only 2022-02-16 00:16:56 -08:00
Haoyu Qiu 3057b19daa Make VMap::find_nearest return -1 when empty 2022-02-16 16:12:30 +08:00
Rémi Verschelde f9629deade HTML5: Fix build after #52742
Fixes #58172.
2022-02-16 08:37:58 +01:00
Haoyu Qiu 1262d331c0 Fix VisualScript crash when using Set Index node 2022-02-16 15:27:41 +08:00
Rémi Verschelde 7989149b91 Merge pull request #58165 from Calinou/fix-default-sky-process-mode
Fix default sky process mode not being Real-Time
2022-02-16 08:07:56 +01:00
Rémi Verschelde 5cbd982df1 Merge pull request #58170 from timothyqiu/gridmap-used-id
Add `GridMap.get_used_cells_by_item`
2022-02-16 08:06:28 +01:00
Haoyu Qiu 19a2ec3d04 Add GridMap.get_used_cells_by_item 2022-02-16 13:04:31 +08:00
Marc Gilleron 722945be61 Fix loading of binary resources with 64-bit floats 2022-02-16 00:55:13 +00:00
Hugo Locurcio aa1cba1d53 Fix default sky process mode not being Real-Time
The change in 09563e4bd8 wasn't
consistently carried out everywhere needed.
2022-02-16 01:51:48 +01:00
kobewi 8129dd45d9 Update description of LINE_TEXTURE constants 2022-02-16 00:52:09 +01:00
kobewi 547786650f Automatically select source of the picked tile 2022-02-16 00:39:00 +01:00
Markus Sauermann 415042ac89 Connect notifications from Container to Viewport
mouse enter+exit
2022-02-15 22:41:30 +01:00
Hugo Locurcio ee7cd9a3a1 Add an OS.get_processor_name() method
This method can be used to get the CPU model name.
It can be used in conjunction with
`RenderingServer.get_video_adapter_name()` and
`RenderingServer.get_video_adapter_vendor()` for annotating benchmarks
and automatic graphics quality configuration.
2022-02-15 20:55:53 +01:00
Rémi Verschelde 98b97d34df Merge pull request #58151 from akien-mga/notification-switch-scene 2022-02-15 20:48:18 +01:00
Rémi Verschelde 6d57587396 Merge pull request #57931 from Calinou/sky-default-filter-realtime 2022-02-15 20:29:57 +01:00
Rémi Verschelde cfb81e09ce Merge pull request #58088 from reduz/add-particle-userdata 2022-02-15 20:27:57 +01:00
Hugo Locurcio 8c06318722 Tweak the default project icon
This only affects newly created projects.

- Use a 128×128 resolution to make the icon look crisp on hiDPI displays.
- Darken the icon's outside area and remove the border, as the
  contrast rate between the icon and its background is now sufficient.

This different design also allows distinguishing projects that
were made with Godot 3.x from projects made with Godot 4.0.
2022-02-15 20:23:12 +01:00
reduz 4f73d3beb4 Add Particle Shader Userdata
* Adds optional vec4 USERDATA1 .. USERDATA6 to particles, allowing to store custom data.
* This data is allocated on demand, so shaders that do not use it do not cost more.
2022-02-15 19:20:31 +01:00
markdibarry 4d53c086ff Fix scroll_to_line ignoring line separation 2022-02-15 12:52:11 -05:00
Rémi Verschelde 0f5455230c Use switch consistently in _notification (scene folder) 2022-02-15 18:44:55 +01:00