Commit Graph

59045 Commits

Author SHA1 Message Date
Lyuma 791d8001db Fix AABB for unused bones
Fixes bug where bounding box of 1 unit was used in some skinned models and had wrong LODs.
(this could become very large if the mesh is scaled, such as FBX conversions)
Also fixes a mistake in calcualting bone index.
2023-05-19 19:47:52 -07:00
VolTer e3d0da404f Overhaul the top sections of the class reference (Physics classes) 2023-05-20 03:25:26 +02:00
Hugo Locurcio 86314e1e53 Remove constrained view in the 2D editor
We initially added an option to disable constraining the 2D editor view.
This setting was still enabled by default to avoid confusing users
who end up scrolling too far away from their current scene
(which is a problem if you don't know about the F key to focus
on the selection).

However, it's probably a better choice to unconstrain the 2D editor view
by default because:

- Lots of people don't know about this setting and wonder how they
  can scroll far away from the scene. This feels really limiting for them,
  and it can even lead to some people thinking Godot intentionally limits
  scene sizes.
- The 3D editor doesn't have such a contrain mechanism.
  This makes the 2D editor more consistent with the 3D editor.
2023-05-20 03:01:12 +02:00
RedworkDE efa892b52a Embed natvis debug views in PDB
This means the debugger can load them automatically.
2023-05-20 00:08:35 +02:00
Jackson Thomas Browne 4fb7aac651 Replace magic num in editor_properties_array_dict
Quick update to editor/editor_properties_array_dict max size.
Currently, an array in the EditorInspector won't display a number higher than 1,000,000.
In place of the current magic number this sets the max to be the INT32_MAX.
This eludes the magic number in place and is sufficiently large.

Resolves #77190
2023-05-19 14:34:22 -07:00
Yuri Sizov 809a982162 Merge pull request #77247 from Piralein/nohashforyou
Fix C# code examples in `String` and `StringName`
2023-05-19 19:48:06 +02:00
Markus Grafen 8a3e829930 (Re-)Implemented Light3D's property "shadow_reverse_cull_face"
The parameter shadow_reverse_cull_face is now passed to the shadow pass so that the mesh back-faces are used for shadow map calculation.
2023-05-19 19:22:10 +02:00
RedworkDE 0cf491bcb5 Allow validating the extension api against a reference version and a list of known changes. 2023-05-19 18:43:04 +02:00
Hana - Piralein 85e1fc2681 fix c# code example 2023-05-19 17:53:54 +02:00
Ninni Pipping 8cf98dda23 Clarify range of various ID values are 32 bit 2023-05-19 17:22:05 +02:00
Yuri Sizov 605e25656f Merge pull request #77242 from novalis/slider-remove-active
Stop dragging when `Slider` changes editability
2023-05-19 17:17:13 +02:00
Yuri Sizov 156a2fabea Merge pull request #76659 from shana/shana/75152-fix-crash-when-initializing-glue-generation
Skip initializing the C# runtime when generating glue bindings
2023-05-19 17:10:40 +02:00
David Turner 7d6b44c5a4 Stop dragging when a slider changes editability 2023-05-19 10:20:42 -04:00
Rémi Verschelde 9ad9820f5d Merge pull request #77229 from RandomShaper/fix_mt_issues
Fix message queue issues
2023-05-19 14:30:10 +02:00
kobewi b76ddeda45 Improve color picking 2023-05-19 14:21:43 +02:00
Pedro J. Estébanez c450260e3e Fix message queue issues
- Missing flush in resource loading.
- Wrong checks about message queue instance.
2023-05-19 13:11:34 +02:00
Rémi Verschelde 150acefb39 Merge pull request #77221 from hakro/fix-animation-frames-editor
Hide Animation Frames section when there are no animations
2023-05-19 10:11:50 +02:00
Rémi Verschelde 9dfae0eb0f Merge pull request #77217 from hakro/disable-nodepath-auto-translate
Do not translate node name when assigned to an exported field
2023-05-19 10:11:26 +02:00
Rémi Verschelde 9a0e250638 Merge pull request #77184 from KoBeWi/all_scene_sub-resources,_not_other_scene's,_not_external,_only_this_scene's
Filter extraneous resources from sub-resource list
2023-05-19 10:11:02 +02:00
Rémi Verschelde aaa77d0d8f Merge pull request #77132 from bruvzg/tts_disable
Add `audio/general/text_to_speech` project setting to enable/disable TTS.
2023-05-19 10:10:38 +02:00
Rémi Verschelde b4584c08f9 Merge pull request #75769 from lyuma/msvc_node_debug_fix
Fix libwebp Node struct shadowing Godot's Node class in MSVC debugger
2023-05-19 10:10:13 +02:00
Rémi Verschelde 9b1b50f2eb Merge pull request #75465 from RedworkDE/signal-disconnect-error
Improve error message when disconnecting callable from signal it was not connected to
2023-05-19 10:09:47 +02:00
Rémi Verschelde 32d7915da4 Merge pull request #73388 from myaaaaaaaaa/workertest-series
Streamline `WorkerThreadPool` tests and make them more robust
2023-05-19 10:09:20 +02:00
Rémi Verschelde 7951252e42 i18n: Sync translations with Weblate
(cherry picked from commit acc82a1d05ee9d145593c03d9422ed0393a05c81)
2023-05-19 08:57:37 +02:00
Rémi Verschelde 57c49a4447 i18n: Sync translations with Weblate
(cherry picked from commit 9cd9a07c27fd73c87079a0bf22cfd39bc0ff170e)
2023-05-19 08:57:25 +02:00
VolTer 04562662d3 Overhaul the top sections of the class reference (Core classes) 2023-05-19 07:04:48 +02:00
Aaron Franke d209857ea7 Document that clamp works with any type that supports greater/less than 2023-05-18 20:18:08 -05:00
Hakim 9cf2d0f058 Hide Animation Frames section when there are no animations and show message 2023-05-19 01:14:11 +02:00
Hakim f2383b7c19 Do not translate node name when assigned to an exported field 2023-05-18 22:10:52 +02:00
Yuri Sizov 5bb7d585a5 Merge pull request #51448 from SaracenOne/animation_tree_parallel_state_machine_fix
Allocate unique `track_blends` vector for animation states
2023-05-18 21:54:35 +02:00
SaracenOne 18c792fe42 Allocate unique track_blends vector for animation states.
Quick fix for a bug which occurs when blending the result of multiple instanced state machines outputting the same animation, but using filter tracks.
2023-05-18 20:02:43 +01:00
Yuri Sizov 2dc3294ad4 Merge pull request #77083 from Jess3Jane/stringname-docs
Accurately document StringName comparisons
2023-05-18 20:53:46 +02:00
Yuri Sizov 0032c1c0c2 Merge pull request #77161 from AThousandShips/touch_texture_fix
Make `TouchScreenButton` connections reference counted
2023-05-18 19:19:31 +02:00
bruvzg 5b9984b5a2 Add audio/general/text_to_speech project setting to enable/disable TTS. 2023-05-18 20:16:03 +03:00
Yuri Sizov 91f3cdfde0 Merge pull request #77171 from rburing/support_thresholds_3d
Restore edge and face support thresholds in 3D
2023-05-18 19:10:19 +02:00
Yuri Sizov e9ba45e12e Merge pull request #77174 from FranckRJ/improve-parallaxlayer-mirroring-doc
Replace "mirror" by "repeat" in doc of `ParallaxLayer::motion_mirroring`
2023-05-18 19:01:43 +02:00
Yuri Sizov ca8bbf24ae Merge pull request #77194 from lyuma/pose_global_no_override
Fix get_bone_pose_global_no_override()
2023-05-18 18:55:00 +02:00
jess3jane 2f9121dea6 Accurately document StringName comparisons 2023-05-18 18:44:28 +02:00
Yuri Sizov 77991a048c Merge pull request #77197 from AThousandShips/string_name_cmp
Fix `StringName` comparison
2023-05-18 18:42:19 +02:00
Yuri Sizov dca343aabb Merge pull request #77198 from paulloz/dotnet-fix-real-t-is-double
Link the right build property to REAL_T_IS_DOUBLE
2023-05-18 18:36:11 +02:00
Yuri Sizov f167a3af02 Merge pull request #77201 from mhilbrunner/fix-the-docs
Small docs syntax fixes
2023-05-18 18:33:58 +02:00
Yuri Sizov e6c90b919f Merge pull request #77205 from akien-mga/ci-godot-cpp-base-branch
CI: Use GODOT_BASE_BRANCH for the godot-cpp checkout
2023-05-18 16:46:59 +02:00
Rémi Verschelde a28c9701ed CI: Use GODOT_BASE_BRANCH for the godot-cpp checkout 2023-05-18 16:22:25 +02:00
Max Hilbrunner a521b85976 Small docs syntax fixes 2023-05-18 14:20:53 +02:00
Andreia Gaita e56fdc8a9a Skip initializing the C# runtime when generating glue bindings
The bindings generator doesn't require the C# runtime in order to generate
the glue, and when it the glue generation runs, it exits immediately
afterwards, so we can skip this initialization when the `--generate-mono-glue`
flag is passed in.

Fixes issue 75152
2023-05-18 13:57:42 +02:00
RedworkDE 1cfc382fe8 C#: Mostly fix hash of ManagedCallable
The hash can still change when reloading assemblies but in all other
cases the result should be correct.
2023-05-18 13:44:36 +02:00
Paul Joannon 178cd046bb Link the right build property to REAL_T_IS_DOUBLE 2023-05-18 13:37:34 +02:00
Ninni Pipping d2ddd8b228 Fix StringName comparison 2023-05-18 13:25:40 +02:00
Max Hilbrunner b40b35fb39 Merge pull request #77103 from voidshine/doc_midi_note_velocity_quirk 2023-05-18 12:52:19 +02:00
Lyuma 565803ce3d Fix get_bone_pose_global_no_override() 2023-05-18 03:14:45 -07:00