Commit Graph

46749 Commits

Author SHA1 Message Date
Rémi Verschelde 1499840f75 Merge pull request #65028 from groud/fix_split_container
Improve SplitContainer behavior, keeping asked split position whenever possible
2022-09-05 08:30:11 +02:00
Rémi Verschelde 9f2e907bac Merge pull request #65323 from timothyqiu/variant-wild
Fix crash when encoding freed object in `ConfigFile`
2022-09-05 08:27:50 +02:00
Rémi Verschelde f9b89bd85f Merge pull request #65347 from timothyqiu/dummy-skin
Fix crash when executing `CSGMesh3D.set_mesh` with headless Godot
2022-09-05 08:27:43 +02:00
Rémi Verschelde 53a1d08bfc Merge pull request #65348 from aaronfranke/fix-vec4
Minor fixes to Vector4 in core
2022-09-05 08:27:31 +02:00
Rémi Verschelde 785ce4208d Merge pull request #65266 from raulsntos/dotnet/reload-non-tool-scripts
Create script instance of reloaded scripts even if they're not tools
2022-09-05 08:27:16 +02:00
Rémi Verschelde 99430dc4cd Merge pull request #65346 from aaronfranke/cs-fix-vec4
Fix some bugs with Vector4 in C#
2022-09-05 08:26:53 +02:00
Rémi Verschelde b71a7faac0 Merge pull request #65278 from TokageItLab/fix-node-transform-skin
Fix `RestFixer` for the model has `Skin` which non-inverse-global-rest
2022-09-05 08:23:56 +02:00
Rémi Verschelde c59c0468f2 Merge pull request #65327 from aaronfranke/gltf-null
Don't try to read values from null cameras and lights in GLTF
2022-09-05 08:23:04 +02:00
Rémi Verschelde caa5e88912
Merge pull request #65343 from MatthewZelriche/XSendEventCrashFix
Fix XSendEvent crash & bootsplash.
2022-09-05 07:51:10 +02:00
Aaron Franke 7c2f0a82f0
Replace AABB/Rect2(i) HasNo* methods in C# 2022-09-04 23:03:36 -05:00
Aaron Franke 995b9f94e8
Replace Rect2(i) has_no_area with has_area 2022-09-04 23:03:36 -05:00
Aaron Franke 817ae95667
Replace AABB has_no_volume with has_volume
Also replace has_no_surface with has_surface
2022-09-04 23:03:36 -05:00
Aaron Franke 058ac331b0
Minor fixes to Vector4 2022-09-04 20:38:44 -05:00
Haoyu Qiu 52f290ae4d Fix crash when executing `CSGMesh3D.set_mesh` with headless Godot 2022-09-05 09:15:22 +08:00
Aaron Franke 39521f9c8e
Fix some bugs with Vector4 in C# 2022-09-04 19:55:30 -05:00
MatthewZelriche ef02f06b8c Fix XSendEvent crash & bootsplash.
Fixes a crash due to an Xlib error, as well as ensures that Godot
holds the correct size of the window after window modes have been
applied, before exiting the DisplayServerX11 constructor. This ensures
the bootsplash will be displayed with the correct dimensions.

Fixes #65320
2022-09-04 16:46:37 -06:00
Raul Santos a91a3d01f8
C#: Create script instance of reloaded scripts even if they're not tools
Scripts that are instantiated at some point will always be recreated
if they ever become placeholders to prevent non-tool scripts
instantiated manually by users to become placeholders, if they
do become placeholders due to errors that prevent instantiation
(such as a missing parameterless constructor) these scripts
will also be recreated replacing the temporary placeholder.

If a script is marked as a tool but becomes a non-tool script
in a rebuild, the script will become a placeholder and will
no longer be considered applicable to be replaced by an instance
since the user explicitly removed the Tool attribute.
2022-09-04 20:39:37 +02:00
Aaron Franke 133e5d197b
Don't try to read values from null cameras and lights in GLTF 2022-09-04 09:52:25 -05:00
Rémi Verschelde e7a0a97c0b
Merge pull request #65299 from paddy-exe/linear-depth-disable-output-preview
Disable Output port preview of Visual Shader nodes using SpatialShader specific built-ins
2022-09-04 16:30:10 +02:00
Clay John 8287dc8895
Merge pull request #65326 from timothyqiu/element-check
Fix crash when executing `LightmapGIData._set_light_textures_data`
2022-09-04 07:29:43 -07:00
Rémi Verschelde 733e0be8ec
Merge pull request #65024 from yedpodtrzitko/yed/fix-macos-missing-vulkan
fix: graceful exit on macOS with missing Vulkan SDK
2022-09-04 16:02:07 +02:00
Haoyu Qiu f0f24b9a62 Fix crash when executing `LightmapGIData._set_light_textures_data` 2022-09-04 20:43:25 +08:00
Haoyu Qiu 3c0759608a Fix crash when encoding freed object in ConfigFile 2022-09-04 19:56:37 +08:00
Ricardo Buring d22ff48b3d Create GDExtension classes for PhysicsServer2D
This allows a 2D physics server created entirely from GDExtension.
Based on the structure of PhysicsServer3DExtension by reduz.
2022-09-04 12:04:08 +02:00
Jiri Suchan c69b22124e fix: graceful exit on macOS missing Vulkan 2022-09-04 12:00:47 +09:00
Rindbee e73cac8999 Fix Skeleton3DEditor causing crash in sanitizer enabled builds
The life cycle of the `Skeleton3DEditor` singleton is too short, and when it is destroyed,
part of the logic needs to be called when its child nodes exist.
2022-09-04 09:20:06 +08:00
Rémi Verschelde b6d102c7c2
Merge pull request #65301 from KoBeWi/get_serious()
Remove pathed `get_node()` use from scene tree dock
2022-09-03 23:54:16 +02:00
Rémi Verschelde 042050a47c
Merge pull request #65283 from bruvzg/reenable_per_pix_transp
Re-enable per-pixel transparency support on Linux, macOS, and Windows.
2022-09-03 23:52:18 +02:00
Ignacio Roldán Etcheverry 8a928bf465
Merge pull request #65296 from raulsntos/dotnet/signal-once
C#: Connect only once for each signal of a script
2022-09-03 23:12:36 +02:00
kobewi 80c78387a2 Remove pathed get_node() use from scene tree dock 2022-09-03 23:10:07 +02:00
Ignacio Roldán Etcheverry 6c62ffe020
Merge pull request #65259 from AlmightyLaxz/dotnet-build_assemblies-double-support
Add float arg to build_assemblies.py
2022-09-03 23:09:31 +02:00
Patrick e3ee2a0a6e Disable Output port preview of Linear Depth Visual Shader node
This disables the output port preview of the node because it's enabled preview caused a shader compilation error
2022-09-03 22:36:37 +02:00
Raul Santos 281ccc7e1b
C#: Connect only once for each signal of a script
Since the list of signals in `CSharpScript::event_signals` retrieved
from calling `ScriptManagerBridge.UpdateScriptClassInfo` already
includes the signals from base scripts there is no need to iterate the
hierarchy again on `CSharpInstance::connect_event_signals`.
2022-09-03 20:39:01 +02:00
Rémi Verschelde 7ced3a6e37
Merge pull request #65111 from MatthewZelriche/DroppedXEventFix
Fix dropped XEvents early in main window lifetime.
2022-09-03 20:36:39 +02:00
Almighty Laxz c71b78bbb8 Add float arg to build_assemblies.py 2022-09-04 04:02:39 +09:30
Almighty Laxz 44042a957f Stop ShapeCast3D drawing when debug collisions off 2022-09-04 02:28:30 +09:30
Rémi Verschelde 3faf9e18f1
Merge pull request #65284 from MJacred/docs/vector4i
Document Vector4i
2022-09-03 18:24:08 +02:00
Rémi Verschelde a653801b17
Merge pull request #65285 from YuriSizov/window-theme-change-is-imminent
Un-defer the initial theme changed notification in `Window`
2022-09-03 18:23:45 +02:00
Rémi Verschelde 5d628e4108
Merge pull request #63026 from Xwdit/improve_scene_tree_timer
Some improvements to the SceneTreeTimer
2022-09-03 18:23:28 +02:00
bruvzg 57829b7cc4
Re-enable per-pixel transparency support on Linux, macOS, and Windows (for Vulkan and OpenGL rendering drivers). 2022-09-03 19:16:03 +03:00
MJacred ed4571ee37 Document Vector4i 2022-09-03 17:06:36 +02:00
Silc Renew 563dcbe7b8 Fix rest fixer for the model has skin which non inverse global rest 2022-09-04 00:04:11 +09:00
Yuri Sizov 41eabca0fb Un-defer the initial theme changed notification in Window 2022-09-03 14:55:13 +03:00
Fabio Alessandrelli 6baf530bcb Fix arm32 detection in Engine.
The `__ARM_ARCH_7A__` and `__ARM_ARCH_7S__` are not enough, since they
do not cover e.g. `__ARM_ARCH_8A__` in 32 bit mode, so instead of trying
to cover any possible ARM version that can work in 32 bit mode, we
can replace it with the `__arm__` macro which is defined for arm32 only
(arm64 uses `__aarch64__`).
2022-09-03 13:41:59 +02:00
Rémi Verschelde b8977ca333
Merge pull request #65279 from Rindbee/fix-Skeleton3DEditor-crash
Fix Skeleton3DEditor crash
2022-09-03 12:33:01 +02:00
Xwdit f350356183 Some improvements to the SceneTreeTimer 2022-09-03 11:44:11 +02:00
Rindbee 6c9726e7a7 Fix Skeleton3DEditor crash 2022-09-03 15:59:59 +08:00
Rémi Verschelde 654a31df06 Merge pull request #65267 from Calinou/cameraserver-print-verbose 2022-09-02 23:39:12 +02:00
Hugo Locurcio b83e0b6447
Use verbose prints when registering cameras in CameraServer
This prevents lines from being printed every time the editor or project
starts in the editor Output log.
2022-09-02 23:26:04 +02:00
Rémi Verschelde 597bc949a4 Merge pull request #65250 from YuriSizov/theme-owner-rises 2022-09-02 23:20:49 +02:00