Commit Graph

3186 Commits

Author SHA1 Message Date
17fa82ac02 Ported: Add debug_canvas_item_get_local_bound() function to VisualServer
Useful for debugging hierarchical culling.
- lawnjelly
61e41cc9a1
2023-08-27 19:00:01 +02:00
d977ed360e Ported: 2D Fixed Timestep Interpolation
Adds support to canvas items and Camera2D.
- lawnjelly
5162efbfe9
2023-08-27 18:48:25 +02:00
87b91721da Ported: Physics interpolation - Move out of Scenario
Move VisualServer interpolation data out of Scenario and into VisualServerScene, so the interpolation data and enabled status is now common to all Scenarios.

Fix physics interpolation in multithreaded mode by ensuring tick and pre-draw are called.
- lawnjelly
d2b1d29634
2023-08-27 17:25:38 +02:00
736106af8a Remove unused variables. 2023-08-27 13:19:58 +02:00
b223601445 Fix non-tools builds. 2023-08-27 13:06:06 +02:00
5ae44c4746 Ported: SCons: Disable C++ exception handling
Upon investigating the extremely slow MSVC build times in #80513, I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.

This is wasteful on multiple aspects:

- Binary size: Around 20% binary size reduction with exceptions disabled
  for both MSVC and GCC binaries.
- Compile time:
  * More than 50% build time reduction with MSVC.
  * 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.

Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
- akien-mga
55550da68b
2023-08-27 13:04:04 +02:00
34e2ebe8cc Fix build. 2023-08-27 12:54:44 +02:00
Silc Lizard (Tokage) Renew
8d4078b7b5 Make AnimationNodeBlendTree use OrderedHashMap insteads Map 2023-08-27 12:24:02 +02:00
The Benedani
d0972a7e36 GLES2: Make GPU skinning more consistent 2023-08-27 12:18:05 +02:00
lawnjelly
3954a79659 Fix AnimatedSprite normal map loading
Normal map names are now correctly set up during loading.
2023-08-27 12:15:46 +02:00
Simon Barkehanai
12eba08f8c Fix infinite loop on EOF in the command line debugger
When using the command line debugger (godot -d) on Unix systems, when
entering an EOF (ctrl+D), the debugger enters an infinite loop.

Adding a check for EOF in the debugger loop exits the debugger when EOF
is entered.

Fixes #50170.

(cherry picked from commit 4ecad8dea30859a5acbac41fe0e647c7bb6a53cc)
2023-08-27 12:14:55 +02:00
Luke Hubmayer-Werner
f80e276363 PulseAudio: Remove get_latency() caching 2023-08-27 12:14:00 +02:00
bruvzg
2be3b9c0ce Back-port notarytool, provisioning profile and PKG export options. 2023-08-27 12:12:20 +02:00
RedworkDE
f3167d1c65 Fix ProjectSettings::localize_path for Windows paths 2023-08-27 12:05:08 +02:00
DeeJayLSP
677c9cfea4 Backport AudioStream icons from 4.0 2023-08-27 12:04:19 +02:00
Fabio Alessandrelli
959286993a Update npm packages 2023-08-27 11:59:50 +02:00
puzzud
21d78d77f6 Prevent double input events on gamepad when running through steam input #79706
Co-authored-by: Eoin O'Neill <eoinoneill1991@gmail.com>
2023-08-27 11:47:35 +02:00
Fabio Alessandrelli
9240163139 Update to upstream master. 2023-08-27 11:46:51 +02:00
Fabio Alessandrelli
e56567ff4d Explicitly handle buffer errors in send/recv 2023-08-27 11:46:27 +02:00
lawnjelly
ca171817a8 MultiRect - Fix flushing in TextEdit
The FontDrawer used in TextEdit was previously not being flushed before drawing auto-completion boxes. This was causing rendering artifacts.
This PR also increases the backward compatibility of the MultiRect OFF mode, by forcing a flush after each character.
2023-08-27 11:45:09 +02:00
Marcin Nowak
4b76c7e89c Backport implement loading DDS textures at run-time 2023-08-27 11:31:12 +02:00
4bc993c53f Added docs for the new Paint Nodes. 2023-08-26 22:59:37 +02:00
8ed3b41865 Re-extracted class docs. 2023-08-26 22:41:21 +02:00
7aa537869f Added the new paint nodes as shortcuts to PaintProjectToolsPropertyInspector. 2023-08-26 22:39:23 +02:00
57a3b09f24 Added icons for the new paint nodes. 2023-08-26 22:34:55 +02:00
4100e3b6a2 Fix issues with the outline mesh generation in PaintCurve2D. 2023-08-26 22:09:26 +02:00
e7eb415910 Implemented image generation for PaintCurve2D. 2023-08-26 21:55:50 +02:00
cfa067fa56 Remove anti alias settings from PaintCurve2D, as it won't be supported when rendering an image. 2023-08-26 21:23:38 +02:00
014e928e47 Set the outline to white and disable it by default in PaintCurve2D. 2023-08-26 21:21:49 +02:00
fc91416394 Added support for textured outlines in PaintCurve2D. 2023-08-26 21:19:55 +02:00
bc99a23af0 Removed the offset property from PaintCurve2D. 2023-08-26 20:27:33 +02:00
632ee28564 Removed the render segments variable from PaintCurve2D. 2023-08-26 20:21:40 +02:00
961127cfc4 Implemented fill for PaintCurve2D. 2023-08-26 20:20:32 +02:00
6148df90ef PaintCurve2D property setup. 2023-08-26 13:00:25 +02:00
94f412a352 Rework PaintPolygon2D's triangle rasterizer so both color and uv interpolation works properly. 2023-08-26 11:01:03 +02:00
43a2b7d6f3 Implemented a triangle scanline rasterizer for PaintPolygon2D. Still needs some work. 2023-08-25 23:02:01 +02:00
6fb4ece167 PaintPolygon2D modularize polygon preprocessing. 2023-08-25 21:26:46 +02:00
c22d5d8946 Remove bone and weight painting support from PaintPolygon2D. 2023-08-25 20:52:11 +02:00
edf55fde28 Renamed the new paint classes and added them to the build. 2023-08-25 19:16:52 +02:00
3424e44400 Added Path2D and Polygon2D Nodes and their editord to the Paint module. 2023-08-25 18:13:54 +02:00
8bf5c70f50 Now VoxelWorld and TerrainWorld inherits from Spatial instead of Navigation, and Terrain2DWorld inherits from Node2D insteaf of Navigation2D, as there is now a proper NavigationServer. Also this will make Node hieararchies involvig them more versatile. 2023-08-24 18:55:21 +02:00
5861ad6485 Fix typos in _rpc_id_bind and _rpc_unreliable_id_bind. 2023-08-15 23:42:34 +02:00
01c3cd88d5 Make sure rpc binds can take both Strings and StringNames as method names. 2023-08-15 10:24:30 +02:00
c80ee8d7bf Added missing Variant conversion and zero cases. 2023-08-15 10:23:41 +02:00
ebbcbe1439 Server build github action artifact upload fix try #3. 2023-08-12 12:07:15 +02:00
185e130377 Server build github action artifact upload fix try #2. 2023-08-12 11:58:39 +02:00
f0241c55f4 Added a note and some commented out commands to the container linux build script. 2023-08-12 11:48:09 +02:00
c21704e600 Save artifacts for both the server and the http server github actions. 2023-08-12 11:40:18 +02:00
a0c6731278 Added a http server template build github action. 2023-08-12 11:24:04 +02:00
4bb48a4a5c Ported from godot4: Fix reading Unicode from stdio.
- bruvzg
3d8a942a56
2023-08-05 20:33:48 +02:00