Commit Graph

51458 Commits

Author SHA1 Message Date
Rémi Verschelde cd68ef9ed0 Merge pull request #51328 from pycbouh/docs-inspector-plugins-classref
Improve the inspector plugin documentation and remove a confusing statement
2021-08-07 12:36:51 +02:00
Rémi Verschelde 35b08b7cbc Merge pull request #51322 from raulsntos/fix-msbuild-exception
Ensure MSBuildPanel buttons are instantiated
2021-08-07 12:19:26 +02:00
lawnjelly dd0f54a368 Fix Transform::xform(Plane) functions
The Transform::xform and xform_inv are made safe for Planes when using non-uniform scaling.
Optimization of calling sites to prevent loss of performance from the changes to xform(Plane).
2021-08-07 11:10:50 +01:00
Rémi Verschelde 3c85ef14c3 Merge pull request #51353 from AndreaCatania/const_fix
Removes const from set functions on the Gizmos
2021-08-07 10:31:08 +02:00
AndreaCatania e4e4a02d3d Removes const from set functions on the Gizmos 2021-08-07 09:15:57 +02:00
Rémi Verschelde 9cb4fbe9d5 Merge pull request #47700 from Calinou/editor-mouse-wheel-change-scene-tabs
Allow using the mouse wheel to navigate scene tabs
2021-08-07 08:21:43 +02:00
Rémi Verschelde 4cb406e02a Merge pull request #51332 from Razoric480/fix-completion-sceneless
Fix LSP completion crashing on scene-less scripts
2021-08-07 00:01:47 +02:00
Rémi Verschelde 1899dc9961 Merge pull request #51337 from naithar/fix/ios-plugin-initialization-in-api
[4.0] [iOS] Use platform generated api to initialize iOS plugins
2021-08-06 23:58:14 +02:00
Lightning_A e1ad11f453 Minor visual improvements to the viewport rotation gizmo (again) 2021-08-06 14:39:13 -06:00
Raul Santos f20db58271 Ensure MSBuildPanel buttons are instantiated 2021-08-06 22:30:38 +02:00
Sergey Minakov ae91e372d1 [iOS] Use platform generated api to initialize iOS plugins 2021-08-06 23:28:37 +03:00
Francois Belair 070d634966 Fix LSP completion crashing on scene-less scripts 2021-08-06 14:55:05 -04:00
Rémi Verschelde 18c5d862e4 Merge pull request #51319 from pycbouh/editor-fix-theme-item-descriptions
Fix theme property descriptions in the Inspector
2021-08-06 20:23:41 +02:00
Yuri Sizov ecf42e2235 Improve the inspector plugin documentation and remove a confusing statement 2021-08-06 21:01:00 +03:00
Yuri Sizov 1352a087b3 Fix minor code style issues in the RST generator 2021-08-06 18:18:22 +03:00
Rémi Verschelde da339f8ffc Merge pull request #51309 from Chaosus/fix_uniform_error_spam
Fix incorrect checking of uniform set to prevent error spam
2021-08-06 17:15:03 +02:00
Rémi Verschelde ed15d2c413 Merge pull request #49924 from BastiaanOlij/mobile_render_subpass
Use subpasses to do 3D rendering and resolve in mobile renderer
2021-08-06 17:00:00 +02:00
George Marques 08804922f2 Bind missing constants from PropertyHint and PropertyUsage 2021-08-06 11:19:44 -03:00
Yuri Sizov 45af2af214 Fix theme property descriptions in the Inspector 2021-08-06 17:12:43 +03:00
Rémi Verschelde 2fedd10dd0 Merge pull request #51314 from georgwacker/fix-vertical-precision-scroll
Fix vertical scroll/zoom for precision touchpad on windows
2021-08-06 15:55:08 +02:00
Bastiaan Olij b920bf05a4 Use subpasses to do 3D rendering and resolve in mobile renderer 2021-08-06 23:43:26 +10:00
Georg Wacker 63ba15a518 Fix vertical scroll/zoom for precision touchpad
Adds factor data for vertical mousewheel event, in line with horizontal mousewheel event
2021-08-06 15:06:11 +02:00
Yuri Roubinsky 47a6bb2f28 Fix a default shader specular render mode to (SCHLICK_GGX/BLINN) 2021-08-06 16:01:58 +03:00
kobewi e092a132fe Various fixes to Tween code 2021-08-06 13:07:34 +02:00
Rémi Verschelde b3c2281706 Merge pull request #50487 from akien-mga/clang-warning-Wordered-compare-function-pointers 2021-08-06 12:55:40 +02:00
Rémi Verschelde c44ebb020d HTML5: Fix warnings and re-enable werror=yes on CI
Add a missing call to disable warnings on a forked env for freetype's
`sfnt.c`.
2021-08-06 12:12:37 +02:00
Rémi Verschelde 34421683eb SCons: Add method to detect Emscripten and use it for warnings config
Emscripten is LLVM-based so we want to follow the same logic. But we can't just
put it as a match in `methods.using_clang()` as that would mess with the
compiler version detection logic used to restrict old GCC and Clang releases.
2021-08-06 12:12:37 +02:00
Rémi Verschelde 802810c371 SCons: Disable Clang -Wordered-compare-function-pointers warning
It's raised for us on many comparators implemented to be able to store a struct
in `Set` or `Map` (who rely on `operator<` internally). In the cases I reviewed
we don't actually care about the ordering and we use the struct's function
pointers as that's the only distinctive data available.
2021-08-06 12:12:33 +02:00
Rémi Verschelde 9f4e9ad75c Merge pull request #46505 from akien-mga/os-fix-used-resources-debug-prints
OS: Fix used resource debug prints
2021-08-06 12:12:13 +02:00
Rémi Verschelde d4e7a1af44 Merge pull request #51082 from ellenhp/fix_cubic_resampling 2021-08-06 11:27:13 +02:00
Yuri Roubinsky ac4406cfbe Fix incorrect checking of uniform set to prevent error spam 2021-08-06 12:20:12 +03:00
Rémi Verschelde 8c3a6b10a9 OS: Fix used resource debug prints
These methods were broken by 22419082d9
5 years ago and nobody complained, so maybe they're not so useful...
But at least this should restore them to a working state.
2021-08-06 11:03:26 +02:00
Rémi Verschelde 18fb2afcac Merge pull request #51214 from Calinou/update-spinner-highlight-when-continuous
Change the editor update spinner color when updating continuously
2021-08-06 10:17:29 +02:00
Rémi Verschelde faad8833fe Merge pull request #51234 from akien-mga/tests-file-get_csv_line
Tests: Improve coverage for `File::get_csv_line()`
2021-08-06 10:17:12 +02:00
Rémi Verschelde 6ded4f52e8 Merge pull request #51283 from Razoric480/lsp-parse-from
Fix LSP parsing get_node only from the scene root
2021-08-06 10:13:09 +02:00
Rémi Verschelde 2f1bc509dc Merge pull request #51301 from Faless/mp/4.x_gd_default_rpc
[Net] Default @rpc annotation should be puppet, not master.
2021-08-06 09:08:09 +02:00
Rémi Verschelde ba0982c51c Merge pull request #51008 from raulsntos/csharp-renames 2021-08-06 09:07:02 +02:00
Rémi Verschelde 4953192172 Merge pull request #51300 from Faless/enet/4.x_fix_status_connect
[Net] Fix ENetMultiplayerPeer status during connection.
2021-08-06 09:06:00 +02:00
Rémi Verschelde 9c84233bfb Merge pull request #51290 from V-Sekai/less-reset-spam
Animation RESET spam less patch 2
2021-08-06 08:50:36 +02:00
Yuri Roubinsky 7997a188ca Merge pull request #51297 from aaronfranke/shader-param-cache
Preserve original name in shader params cache
2021-08-06 09:34:41 +03:00
Fabio Alessandrelli d7dca072aa [Net] Default @rpc annotation should be puppet, not master. 2021-08-06 02:39:22 +02:00
Fabio Alessandrelli a816d74fdf [Net] Fix ENetMultiplayerPeer status during connection.
While the client emitting "peer_connect" for the server, the status was
still set to CONNECTION_CONNECTING, causing bugs in the upper layer.
2021-08-06 02:00:56 +02:00
Aaron Franke 136dd887ad Preserve original name in shader params cache 2021-08-05 18:31:08 -05:00
Ignacio Roldán Etcheverry ed3dcd7d9d Merge pull request #51044 from raulsntos/csharp-dictionary-doc
Reduce C# Dictionary internal calls, Add documentation to Dictionary in C#
2021-08-06 00:00:31 +02:00
PouleyKetchoupp b9e68c8155 Fix one-way collision in Tilemap
In a given quadrant there can be one or more bodies used, and the
process iterated over cells to add the shapes, so the shape index
doesn't necessarily correspond to the polygon shape index.

Instead body shape indices need to be tracked separately.
2021-08-05 12:10:35 -07:00
Rémi Verschelde 0ee6f1ac91 Merge pull request #51286 from KoBeWi/get_used_REKT
Fix get_used_rect() calculation
2021-08-05 20:59:56 +02:00
kobewi 665dc7805b Fix get_used_rect() calculation 2021-08-05 20:40:21 +02:00
K. S. Ernest (iFire) Lee 9d1979ba62 Make animation reset do less spam. 2021-08-05 11:33:01 -07:00
George Marques 3f362cec68 Improve extension system
- Fix library loading and initialization.
- Add extra methods/parameters in the interface needed by extenstions.
- Add Variant destructors and functions for extracting values and
  creating Variants from values.
2021-08-05 14:57:31 -03:00
George Marques 97947bc063 Fix a few default parameters in bindings
They have the wrong type and cause issues with extensions.
2021-08-05 14:57:29 -03:00