Commit Graph

39075 Commits

Author SHA1 Message Date
Rémi Verschelde eb98fd9442
Merge pull request #54788 from rcorre/orbit_clamp 2021-11-09 14:15:48 +01:00
Rémi Verschelde 26f82563de
Merge pull request #54798 from Calinou/gdscript-opcode-no-hash 2021-11-09 14:01:34 +01:00
Ryan Roden-Corrent 3bd7c4f2a9
Clamp rotation for up/down orbiting shortcuts.
This prevents the viewport from going upside-down.

This was suggested at:
https://github.com/godotengine/godot/pull/51984#issuecomment-948614191:

> For 3.4, I think we can just clamp the angle value when using the
> camera orbiting shortcuts. We can investigate what to do with panning
> and freelook in 3.5 and 4.0.
2021-11-09 06:50:39 -05:00
Hugo Locurcio 605784f019
Remove hash symbol in front of opcode error messages in GDScript
The hash symbol creates spurious issue references on GitHub if
the message is posted outside a code block, which means some issues
have a lot more references than originally intended.
2021-11-09 12:20:16 +01:00
Rémi Verschelde bc6ec58456
Merge pull request #47600 from qarmin/enable_mono_editor 2021-11-09 12:13:11 +01:00
Rémi Verschelde 8a15e404b2
Merge pull request #54463 from RandomShaper/fix_gl3_32bits 2021-11-09 11:55:26 +01:00
qarmin 071829acc5 Enable mono editor build in CI 2021-11-09 11:02:04 +01:00
Rémi Verschelde 9444a3f01d
Merge pull request #54736 from Chaosus/shader_fix_uniform 2021-11-09 08:25:12 +01:00
Rémi Verschelde 03a70a9a14
Merge pull request #54789 from Calinou/pulseaudio-print-input-channels 2021-11-09 08:22:00 +01:00
Camille Mohr-Daurat c6062cd93e
Merge pull request #54134 from nekomatata/body-center-of-mass-local
Expose local center of mass in physics servers
2021-11-08 18:44:51 -07:00
Hugo Locurcio de912a8bd9
Print the number of PulseAudio input channels when in verbose mode
This is useful information to have for troubleshooting, and it's
said to sidestep a possible race condition issue that breaks
microphone recording on Linux.
2021-11-09 00:44:11 +01:00
PouleyKetchoupp fc8c766ef9 Expose local center of mass in physics servers
Center of mass in body's local space is more useful than the transformed
one in some cases, like drawing its position for debug.

It's especially useful to get the generated local center of mass when
in auto mode (by default).

Physics Server BODY_PARAM_CENTER_OF_MASS:
Now always returns the local center of mass, instead of setting a local
center of mass and getting a transformed one.
This causes compatibility breaking, but it makes more sense for the
parameter to be consistent between getter and setter.

Direct Body State:
There are now two properties, because both of them can be useful in
different situations.
center_of_mass: relative position in global coordinates (same as before)
center_of_mass_local: position in local coordinates
2021-11-08 16:17:57 -07:00
Rémi Verschelde 5968653662
Merge pull request #46721 from bruvzg/custom_word_break_punct 2021-11-09 00:13:59 +01:00
Rémi Verschelde d9a74fd07f
Merge pull request #54372 from bruvzg/text_edit_ui 2021-11-09 00:13:25 +01:00
Rémi Verschelde e6ffb10bcd
Merge pull request #52945 from bruvzg/macos_editor_translation 2021-11-09 00:09:32 +01:00
Rémi Verschelde 6c4737341d
Merge pull request #54649 from bruvzg/shadows 2021-11-09 00:07:41 +01:00
Rémi Verschelde 43ff899fa7
Merge pull request #54315 from nekomatata/x11-key-events-log 2021-11-09 00:03:12 +01:00
Rémi Verschelde f0e6adae6d
Merge pull request #54784 from bruvzg/fix_toster_encoding 2021-11-08 23:57:54 +01:00
bruvzg ba9d737363 Fix incorrect encoding (Latin-1 instead of UTF-8) used in `_error_handler` functions. 2021-11-08 23:45:08 +02:00
Yuri Roubinsky 38c698c485
Merge pull request #53321 from Geometror/gradient-improvements 2021-11-08 22:32:25 +03:00
Rémi Verschelde 236fd3305b
Merge pull request #54473 from briansemrau/no-debug-functions-on-thread 2021-11-08 19:37:48 +01:00
Rémi Verschelde 78ed2c05a2
Merge pull request #54118 from Pineapple/dont-ignore-type-mismatch-in-setter-master 2021-11-08 19:26:27 +01:00
Hendrik Brucker ed0337c0b9 Several Gradient improvements 2021-11-08 19:11:36 +01:00
Rémi Verschelde 665fa3d839
Merge pull request #52943 from RandomShaper/property_pin_control_natural 2021-11-08 18:53:08 +01:00
Yuri Roubinsky 4a32754e78
Merge pull request #54715 from goostengine/gradient-texture-1d-rename 2021-11-08 20:52:24 +03:00
Pedro J. Estébanez 8d6f80d367 Add property value pinning 2021-11-08 17:42:30 +01:00
Rémi Verschelde 64a27bd0b1
Merge pull request #54760 from KoBeWi/node_pupop 2021-11-08 16:50:52 +01:00
kobewi 953a9be2d9 Improve Add Node Here popup 2021-11-08 14:02:33 +01:00
Rémi Verschelde e87687a6d0
Merge pull request #54486 from ibrahn/thread-work-pool-lazier 2021-11-08 13:39:39 +01:00
Rémi Verschelde 63559f2c80
Merge pull request #54186 from miraz12/fix-packedByteArray-memcpy-crash 2021-11-08 13:33:07 +01:00
Rémi Verschelde 0b0f7fa9ef
Merge pull request #54275 from Calinou/editor-tweak-animation-editor-icon-colors 2021-11-08 13:32:32 +01:00
Rémi Verschelde 02f9ccf348
Merge pull request #54586 from bruvzg/hb310 2021-11-08 13:30:26 +01:00
Rémi Verschelde 6c8a1683a5
Merge pull request #54663 from Gallilus/VisualScript-sync-and-improve-variable-anb-property 2021-11-08 13:13:52 +01:00
Rémi Verschelde 18598a4030
Merge pull request #54756 from bruvzg/pre_wait_observer_redraw4 2021-11-08 13:09:38 +01:00
bruvzg da8aedfc17 HarfBuzz: Update to version 3.1.1 2021-11-08 13:26:21 +02:00
bruvzg 73a774d8d1 [macOS] Use pre-wait observer to keep main run loop running and redraw window during the window resize and displaying modal popups. 2021-11-08 12:35:13 +02:00
Rémi Verschelde ce634e03d5
Merge pull request #54735 from LightningAA/remove-camera-texture-flags
Remove redundant texture flag setters/getters for `CameraTexture`
2021-11-07 22:09:48 +01:00
Yuri Roubinsky bbfa5f29c7 Pushes array of uniforms to first place in the buffer to prevent bug 2021-11-07 23:30:09 +03:00
Aaron Record d3c3540329 Remove redundant texture flag setters/getters for `CameraTexture` 2021-11-07 12:35:10 -07:00
Rémi Verschelde 79f233349f
Merge pull request #54721 from KoBeWi/fix_saving_blank_scenes-true_edition
Fix editor saving blank scenes (for real)
2021-11-07 20:33:30 +01:00
Rémi Verschelde f49d679de4
Merge pull request #54728 from Razoric480/fix-lsp-signal-crash-r
Fix LSP crash when parsing signal symbols.
2021-11-07 20:03:09 +01:00
Francois Belair 4995a477ff Fix LSP crash when parsing signal symbols.
If the number of parameters was less than the number of class members, the LSP would cause godot to crash because it was using the index for class members instead of the index for signal parameters.

Fixes #54720 .
2021-11-07 12:20:25 -05:00
Rémi Verschelde c89061e982
Merge pull request #54710 from bruvzg/ios_xcbuild_info4
[iOS export, 4.0] Capture and display xcodebuild output.
2021-11-07 17:13:27 +01:00
kobewi 8144ac79cf Fix editor saving blank scenes (for real) 2021-11-07 16:38:56 +01:00
Pedro J. Estébanez 1806ec7c14 Unify determination of default property values 2021-11-07 15:27:47 +01:00
Andrii Doroshenko (Xrayez) 6742a338a8 Rename `GradientTexture` to `GradientTexture1D`
1. Explicit and unambiguous when comparing to `GradientTexture2D`
2. Consistent with other class names where 1D is used in the engine.
2021-11-07 15:11:04 +02:00
bruvzg d0490d140b [iOS export] Capture and display xcodebuild output. 2021-11-07 11:05:05 +02:00
Rémi Verschelde 9f46ce8652
Merge pull request #54689 from KoBeWi/name_of_sun 2021-11-07 01:44:10 +01:00
Rémi Verschelde 6566363ab3
Merge pull request #54654 from nathanfranke/pulseaudio-fix 2021-11-07 01:09:32 +01:00
kobewi 313ef412f5 Fix preview sun and environment names 2021-11-07 00:40:15 +01:00