mandryskowski
33e46aac13
Revert the change of the limit for interpolation of R0 with respect to metallic and SSR
...
Commit 2c000cb72f
changed the interpolation limits from (0.04, 1.0) to (0.04, 0.37). This is incorrect, as we want to have an F0 of 0.04 for dielectrics (materials with metalness of 0.0) and an F0 of 1.0 for metals.
The Schlick approximation uses an F0 of 0.04 for all dielectrics and it's good enough.
Having it lower than 1.0 leads to an incorrect application of the Fresnel effect for metals and leads to bugs like #79549
2023-07-18 19:18:19 +02:00
Fredia Huya-Kouadio
b52e1be2c2
Clean up the XR features parameters from core
...
Following on the previous commit, the XR features logic have now be moved to the Godot OpenXR loader plugin.
See https://github.com/GodotVR/godot_openxr_loaders/pull/38
2023-07-18 19:14:53 +02:00
Fredia Huya-Kouadio
d17811c814
Re-architect how Android plugins are packaged and handled at export time
...
The previous packaging format for Godot Android plugins consisted of the plugin's `gdap` config file accompanied by binaries defined in the `gdap` file.
This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as `EditorExportPlugin` plugins.
The `EditorExportPlugin` class has been updated with the following methods to provide the necessary set of functionality:
- `_supports_platform`: returns true if the plugin supports the given platform
- `_get_android_dependencies`: retrieve the set of android dependencies (e.g: `org.godot.example:my-plugin:0.0.0`) provided by the plugin
- `_get_android_dependencies_maven_repos`: retrieve the urls of the maven repos for the provided android dependencies
- `_get_android_libraries`: retrieve the local paths of the android libraries (AAR files) provided by the plugin
- `_get_android_manifest_activity_element_contents`: update the contents of the `<activity>` element in the generated Android manifest
- `_get_android_manifest_application_element_contents`: update the contents of the `<application>` element in the generated Android manifest
- `_get_android_manifest_element_contents`: update the contents of the `<manifest>` element in the generated Android manifest
2023-07-18 19:14:53 +02:00
Yuri Sizov
e8aa8c17d2
Merge pull request #79574 from bruvzg/win_nat_d
...
[Windows] Implement native file selection dialog support.
2023-07-18 19:04:40 +02:00
HolonProduction
89c39c7f9d
Fix crash when deleting terrains
2023-07-18 17:52:32 +02:00
bruvzg
d3ca91ad6a
[Windows] Implement native file selection dialog support.
2023-07-18 17:23:58 +03:00
MewPurPur
963a63708e
Make Help.svg not look disabled
2023-07-18 16:23:47 +03:00
Yuri Sizov
279732539f
Merge pull request #79611 from AThousandShips/rtl_fix
...
Fix `root_node_layout_direction` setting not enum
2023-07-18 15:10:16 +02:00
Yuri Sizov
9c39fe0690
Merge pull request #79609 from KoBeWi/one_dollar_mistake
...
Fix wrong Curve connection
2023-07-18 15:10:13 +02:00
Yuri Sizov
ec66c53d52
Merge pull request #79572 from bruvzg/mac_bg_ws_sync
...
[macOS] Fix uncapped frame rate for windows in the non-active workspaces.
2023-07-18 15:10:09 +02:00
Yuri Sizov
77d96b24ca
Merge pull request #67503 from KoBeWi/are_you_saving_this_or_are_you_not_saving_this
...
Add `_get_unsaved_status()` method to EditorPlugin and implement it for script and shader editors
2023-07-18 15:10:06 +02:00
Ninni Pipping
1cac72999b
Fix root_node_layout_direction
setting not enum
2023-07-18 14:33:13 +02:00
kobewi
b883f32188
Check for unsaved changes when closing a scene
2023-07-18 14:27:56 +02:00
kobewi
000471ee56
Add unsaved status for script and shader editors
2023-07-18 14:18:36 +02:00
kobewi
6dc5dc3479
Add _get_unsaved_status()
method to EditorPlugin
2023-07-18 14:18:36 +02:00
kobewi
a076792a3c
Fix wrong Curve connection
2023-07-18 13:55:04 +02:00
Yuri Sizov
79a9e79561
Merge pull request #79416 from sepTN/fix-copy-system-info
...
Fix rendering driver in Copy System Info for the Compatibility rendering method
2023-07-18 13:28:30 +02:00
Yuri Sizov
c528f1fc27
Merge pull request #79489 from smix8/navmap_cell_size_errors_4.x
...
Add more hints to navigation map cell size errors
2023-07-18 13:15:27 +02:00
Yuri Sizov
d70488892c
Merge pull request #79483 from smix8/nav2d_pj_props_4.x
...
Change 2D navigation ProjectSettings from integers to floats
2023-07-18 13:15:23 +02:00
Yuri Sizov
5a565e029d
Merge pull request #79479 from Faless/mp/get_set_indexed
...
[MP] Use `get/set_indexed` in MultiplayerSynchronizer
2023-07-18 13:15:19 +02:00
Yuri Sizov
182b94c86a
Merge pull request #79465 from smix8/navregion_bake_deferred_4.x
...
Make NavigationRegion3D baking NavMesh on the main thread not finish deferred
2023-07-18 13:15:15 +02:00
Yuri Sizov
f8f06d3d38
Merge pull request #78264 from magian1127/4.0StringName
...
C#: Add `PropertyHint.Enum` support to `Array<StringName>`
2023-07-18 12:19:37 +02:00
Yuri Sizov
1770a2af5f
Merge pull request #78993 from KoBeWi/making_connections 🤝
...
Unify and streamline connecting to Resource changes
2023-07-18 11:56:24 +02:00
Silc Lizard (Tokage) Renew
a3cdacdc4e
Make AnimationNodeBlendTree use RBMap insteads HashMap
2023-07-18 17:57:53 +09:00
Rindbee
e9cd29cf22
Fix rename animation in SpriteFramesEditor/AnimationNodeStateMachineEditor
...
When the name suffix grows, the old name is used if it is obtained first.
Fix the case where the following error message would appear when renaming
an animation.
```
ERROR: Animation '' doesn't exist.
at: get_frame_count (scene/resources/sprite_frames.cpp:71)
```
2023-07-18 15:39:02 +08:00
Septian
c4b878ccb3
Fix Copy System Info to copy the correct rendering driver for the Compatibility rendering method
2023-07-18 06:16:15 +07:00
Yuri Sizov
57919beb05
Merge pull request #76821 from m4gr3d/prototype_godot_service_main
...
Refactor Godot Android architecture
2023-07-17 21:11:21 +02:00
Pawel Lampe
1612466803
Add advanced 'NavigationServer3D' tests
2023-07-17 19:56:02 +02:00
kobewi
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +02:00
Yuri Sizov
2c55214068
Merge pull request #79205 from anvilfolk/populate-class-members
...
GDScript: Solve `_populate_class_members()` cyclic dependency problem
2023-07-17 19:15:16 +02:00
Yuri Sizov
5954c58ee1
Merge pull request #79494 from timothyqiu/no-longer
...
Update OptionButton min size when disabling Fit to Longest Item
2023-07-17 19:12:03 +02:00
Miguel Pereira
c2ad5ca435
Added tests to InputEvent
2023-07-17 17:48:34 +02:00
Yuri Sizov
3a213643c9
Merge pull request #79388 from KoBeWi/wait_faster
...
Don't use splash minimum display time in editor
2023-07-17 17:21:01 +02:00
Yuri Sizov
38ccab2ab3
Merge pull request #79138 from aaronfranke/camera-exposure-range-hint
...
Change property hint range for camera attributes exposure multiplier
2023-07-17 17:17:16 +02:00
Yuri Sizov
9c74f3408b
Merge pull request #79082 from geowarin/master
...
Add missing useModelFront parameter to GodotSharp Basis and Transform
2023-07-17 16:50:28 +02:00
Yuri Sizov
3d04a22d7c
Merge pull request #79103 from AThousandShips/array_slice_range
...
Fix range error for `Array.slice`
2023-07-17 16:48:48 +02:00
Yuri Sizov
b7c3998669
Merge pull request #68396 from Geometror/split-stylebox
...
Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file
2023-07-17 15:41:43 +02:00
Yuri Sizov
cb7730c5b2
Merge pull request #78641 from phil-hudson/feat/ios_skip_ipa_export
...
iOS: Add `export_project_only` flag
2023-07-17 13:48:32 +02:00
Hendrik Brucker
a29a680920
Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file
2023-07-17 13:25:00 +02:00
Hugo Locurcio
02bf74a954
Improve shader editor templates to be more descriptive
2023-07-17 12:52:27 +02:00
Phil Hudson
076ef3bf6a
iOS: Add export_project_only
flag
2023-07-17 11:45:03 +02:00
Clay John
f880892c3d
Merge pull request #79402 from Haydoggo/repeat-filter-autocomplete
...
Add autocomplete for filter/repeat hints on uniform arrays
2023-07-17 11:32:20 +02:00
Yuri Sizov
52784188bf
Merge pull request #78817 from BastiaanOlij/fix_startup_issue_hand_tracking
...
Fix issue with accessing hand tracking without timing info
2023-07-17 09:59:51 +02:00
bruvzg
2ee45dc293
[macOS] Fix uncapped frame rate for windows in the non-active workspaces.
2023-07-17 10:29:49 +03:00
LRFLEW
90f0e97eb9
GLES3: reset anisotropic filtering when changing texture filtering mode
2023-07-17 00:18:39 -05:00
Fredia Huya-Kouadio
29bbc17b48
Godot Android re-architecture
...
Decouples the Godot java entry point from the Android Fragment component. This enables the Godot component to be more easily reused across different types of Android components including Activities and Services.
2023-07-16 18:56:58 -07:00
Fredia Huya-Kouadio
00c782d959
Renaming Godot.java
to GodotFragment.java
to better reflect its nature and role
2023-07-16 18:56:57 -07:00
kobewi
7b8c70c668
Improve message when no tile is selected to edit
2023-07-17 02:41:36 +02:00
Yuri Sizov
851bc640dd
Merge pull request #79484 from KoBeWi/history_changes,_but_war․․․_war_never_changes
...
Emit `history_changed` on merged UndoRedo actions
2023-07-16 14:42:55 +02:00
Yuri Sizov
7bc8a52edf
Merge pull request #78084 from V-Sekai/load-ogg-bytes-remake
...
Implement loading OGG files from buffer and file path
2023-07-16 14:42:05 +02:00