Commit Graph

51458 Commits

Author SHA1 Message Date
Rémi Verschelde e317e34c15 Merge pull request #54825 from TokageItLab/fix-ping-pong-in-math
Fix `PingPong()` in `Mathf.cs` to pass CI/CD for Mono build
2021-11-10 07:56:15 +01:00
Silc 'Tokage' Renew 571ea72f35 fix pingpong in math 2021-11-10 14:31:56 +09:00
Rémi Verschelde 284b50cf30 Merge pull request #54662 from KoBeWi/now_with_reloading
Properly reload built-in tool scripts
2021-11-09 23:00:35 +01:00
ChristopheClaustre cc39ba5509 rendering_device: if one compiles with at least on stage without sources, it was always returning an unusable bytecode (because errored) 2021-11-09 22:53:30 +01:00
Rémi Verschelde 06a33e590f Merge pull request #53819 from TokageItLab/re-implement-ping-pong
Reimplement ping-pong animation and reverse playback
2021-11-09 22:11:04 +01:00
kobewi 75e8eafa72 Properly reload built-in tool scripts 2021-11-09 21:58:06 +01:00
Rémi Verschelde efea3128c3 Merge pull request #54808 from Calinou/editor-frametime-display-more-decimals
Display 2 decimals instead of 1 in editor frametime labels
2021-11-09 21:52:37 +01:00
Rémi Verschelde 46780aaa0f Merge pull request #54694 from briansemrau/rem-silly-obj-error
Prevent obj importer from printing misleading error
2021-11-09 21:49:11 +01:00
Rémi Verschelde c305de701c Merge pull request #54697 from aaronfranke/move-tests
Move and organize tests into subfolders
2021-11-09 21:48:13 +01:00
Rémi Verschelde e3f3fc517a Merge pull request #54653 from KoBeWi/built_in_scripts_deserved_that
Improve save handling for built-in scripts
2021-11-09 21:46:58 +01:00
K. S. Ernest (iFire) Lee 081c1ceda4 Merge pull request #51341 from V-Sekai/fps-30
Default to 30 animation fps for better quality.
2021-11-09 10:55:15 -08:00
Maximilian c7a8e047cc Allow using $/root node paths
format

fix shadowing

use match instead of comparison

Update gdscript_parser.cpp
2021-11-09 18:46:28 +01:00
PouleyKetchoupp 3d1c123d45 Separate space override modes for gravity/damping in Area
Also make inspector clearer for gravity point properties.
2021-11-09 10:29:24 -07:00
Hugo Locurcio f61ee47a2e Display 2 decimals instead of 1 in editor frametime labels
When comparing different graphics settings or optimizations,
this makes precise measurements and frametime comparisons easier.
2021-11-09 17:17:55 +01:00
K. S. Ernest (iFire) Lee f4204ac8e0 Default to 30 animation fps for better quality. 2021-11-09 08:13:45 -08:00
Tomasz Chabora 606cfa9a47 Fix Vector2.angle_to_point() being reversed 2021-11-09 16:59:58 +01:00
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
bruvzg 294e48ae58 Move BMFont parser code from importer to the FontData to allow loading bitmap fonts in the runtime (without importing). 2021-11-09 10:41:45 +02: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
NHodgesVFX dbe366a830 add more OpenGL attributes 2021-11-08 20:12:11 -05: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
Dominic-ATOR d7a4187b05 Implement CameraEffects override_exposure 2021-11-08 21:14:56 +00: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
Yuri Roubinsky 95f6f3c756 Prevent identifiers from naming as built-in funcs and global classes 2021-11-08 21:35:31 +03: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