Commit Graph

41526 Commits

Author SHA1 Message Date
Ryan Roden-Corrent 628219c922
Don't block input after cancelling transform.
After starting an instant transform and cancelling it, the mouse was
blocked because cancel_transform did not set _edit.instant back to
false.

This refactors all the cleanup into a separate function that both
cancel_transform and commit_transform can call.

Fixes #57868.
2022-02-10 08:23:10 -05:00
Rémi Verschelde 1bdb82c64e
Fix typos with codespell
Using codespell 2.2-dev from current git.

Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
2022-02-10 12:30:19 +01:00
SaracenOne 824ece9d89 Free surface vertex_buffers after vertex_arrays due dependencies 2022-02-10 10:34:34 +00:00
SaracenOne 71eb3f6df5 Fix _free_render_buffer_data freeing shared half_texture and half_fb 2022-02-10 10:04:18 +00:00
Aaron Franke 742205b29a
Fix CanvasItemEditor scale editor not using the editor methods 2022-02-10 03:51:53 -06:00
Rémi Verschelde f21a62b620
Merge pull request #57866 from fire-forge/better_array_editor 2022-02-10 10:39:36 +01:00
Rémi Verschelde ba4c3dc65a
Merge pull request #55030 from Razoric480/raz/simul-bezier-edit
Allow the drawing and editing of all animation bezier curves
2022-02-10 08:11:51 +01:00
Yuri Roubinsky 5d536f06c2
Merge pull request #57875 from ZuBsPaCe/shader-instance-qualifier-format-string 2022-02-10 08:34:47 +03:00
Francois Belair 13a0d9177d Implement drawing and editing all anim beziers
* Move bezier edit from track to button in toolbar
* Draw, edit all bezier curves simultaneously
* Add click on curve to select tracks
* Tie track editor's filter view to bezier editor
* Implement visibility and locking
* Fix editor spacing issues
* Fix track buttons spacing
* Add keyframe focus and (de)select all key handling
2022-02-09 19:48:22 -05:00
Bartłomiej Dusak 38423565e4 remove normal_to_panorama from spotlight projector 2022-02-09 23:47:44 +01:00
Fabio Alessandrelli 6ad0ca8fcd
Merge pull request #57876 from Faless/mp/4.x_clarify_rpc_error
[Net] Clarify RPC error when method is missing.
2022-02-09 23:38:16 +01:00
Rémi Verschelde 8161e28512
Merge pull request #55899 from groud/fix_rotation_track_wrong_type
Fixes rotation 3D track inspector not using the correct type
2022-02-09 22:17:07 +01:00
Rémi Verschelde d22ac13bc2
Merge pull request #57715 from Faless/debugger/4.x_core_includes_and_servers
[Debugger] Move most profilers to ServersDebugger, fix core includes.
2022-02-09 21:57:32 +01:00
Fabio Alessandrelli 9608e0571a [Net] Clarify RPC error when method is missing. 2022-02-09 21:43:26 +01:00
ZuBsPaCe 2e2c9a27b6 Fixed shader error message for instance qualifier
Moved argument from RTR to vformat. Message is now similar to uniform-arrays-error further down.
2022-02-09 21:32:09 +01:00
Rémi Verschelde 2c28729122
Merge pull request #57834 from Sauermann/fix-popup-control 2022-02-09 19:53:31 +01:00
Markus Sauermann ba565bec1b Update Popup and PopupMenu descriptions 2022-02-09 18:59:41 +01:00
Rémi Verschelde f91e5bad8c
Merge pull request #57855 from Faless/mp/4.x_rpc_strings 2022-02-09 16:14:50 +01:00
Rémi Verschelde d368b88f5c
Merge pull request #57852 from bruvzg/hb_msdf_update 2022-02-09 16:14:34 +01:00
Fabio Alessandrelli a18ba63417 [Net] Allow to use strings as method name in RPC.
Node::rpc and Node::rpc_id will now also accepts Strings instead of only
accepting StringNames.
2022-02-09 14:27:16 +01:00
Rémi Verschelde 2cdbb7c9b8
Merge pull request #57847 from mbrlabs/region-select 2022-02-09 14:16:00 +01:00
Rémi Verschelde 77c2bfb636
Merge pull request #57838 from TechnicalSoup/ClassRefPatch2 2022-02-09 13:25:40 +01:00
Rémi Verschelde 85610588d1
Merge pull request #57843 from Pineapple/vector2-brackets-operator-master 2022-02-09 13:25:18 +01:00
bruvzg 346a4b4f50
msdfgen: Update to version 1.9.2 2022-02-09 14:24:26 +02:00
bruvzg c768189bd2
HarfBuzz: Update to version 3.3.2 2022-02-09 14:22:04 +02:00
Marcus Brummer c283a0ece7 Improved region-select in the 3D editor viewport 2022-02-09 12:22:03 +01:00
Rémi Verschelde f88a83f611
Merge pull request #57810 from timothyqiu/tree-button-id 2022-02-09 11:11:01 +01:00
Rémi Verschelde 5b866426fd
Merge pull request #57605 from naithar/fix/godot-view-touch-4.0 2022-02-09 11:05:26 +01:00
TechnicalSoup d5ea8547d6 Correct C# code example in Color class reference
Correct C# example code for html method in the Color class reference.
2022-02-09 20:26:51 +11:00
Rémi Verschelde 79077e6c10
Merge pull request #57817 from akien-mga/version-hash-cpp 2022-02-09 09:46:02 +01:00
Rémi Verschelde 5e53d9d777
Merge pull request #57820 from akien-mga/scons-compiledb-opt-in 2022-02-09 09:45:47 +01:00
Rémi Verschelde d6deada47c
Revert "Show the 3D transform gizmo in the center when otherwise offscreen"
This reverts commit 4234a72b25.

There are some errors which are problematic to have in 4.0 alpha 2.
The PR can be redone with fixes and merged again after the dev release.

Fixes #57839.
2022-02-09 09:39:28 +01:00
Rémi Verschelde 196801fc64
Merge pull request #57837 from YeldhamDev/that_was_pointless 2022-02-09 09:38:39 +01:00
Rémi Verschelde f94df6fa2b
SCons: Make compilation database generation optional
Saves around 3 s on incremental rebuilds to have it disabled by default.
Can be enabled with `compiledb=yes`.
2022-02-09 09:20:53 +01:00
Rémi Verschelde 90162851a7
Core: Move generated `VERSION_HASH` to a `.cpp` file
This lets us have its definition in `core/version.h` and avoid
rebuilding a handful of files every time the commit hash changes.
2022-02-09 09:20:17 +01:00
Bartłomiej T. Listwon 51cac0709e Fix Vector2 and Vector2i coord access via operator[] 2022-02-09 09:17:17 +01:00
Rémi Verschelde 3cb9dc78d6
Merge pull request #57806 from akien-mga/scons-gotta-go-fast 2022-02-09 09:14:17 +01:00
Rémi Verschelde d435c51cda
Merge pull request #57836 from BastiaanOlij/deprecated_vulkan_macros 2022-02-09 08:16:49 +01:00
FireForge 62073d157f Unify array, dictionary, and inspector array editors 2022-02-09 00:15:47 -06:00
Michael Alexsander ef81dc1831 Remove code to update the layout direction of submenus from `PopupMenu` 2022-02-09 01:36:20 -03:00
Bastiaan Olij eb9d8ad44a Nitpicking, VK_VERSION_* have been deprecated, replaced by VK_API_VERSION_*. 2022-02-09 15:04:47 +11:00
Rémi Verschelde a4759e375a
Merge pull request #57832 from Sauermann/fix-id-creation 2022-02-09 01:22:12 +01:00
Rémi Verschelde f111768ba9
Merge pull request #57813 from MisoMosiSpy/disabled_icons 2022-02-09 01:20:58 +01:00
Markus Sauermann 35806c1511 Adjust id creation in PopupMenu to avoid duplicate ids 2022-02-09 01:17:55 +01:00
MisoMosiSpy 839b8cae1e
Updated alpha value for disabled icons in default theme. 2022-02-09 01:16:39 +01:00
Rémi Verschelde b480140ce1
Merge pull request #57825 from Calinou/ios-remove-obsolete-define 2022-02-09 00:27:08 +01:00
Rémi Verschelde 64c4ce516a
Merge pull request #52592 from ellenhp/randomizer 2022-02-09 00:24:55 +01:00
Ellen Poe 41a158af56
Add AudioStreamRandomizer, replacing AudioStreamRandomPitch
Add additional randomization options.
2022-02-09 00:05:32 +01:00
Rémi Verschelde ba1024f42d
Merge pull request #57822 from Calinou/ios-remove-armv7 2022-02-08 23:25:16 +01:00
Rémi Verschelde 25d4c14fef
Merge pull request #57627 from JFonS/occluder_improvements 2022-02-08 23:23:50 +01:00