1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00
Commit Graph

16633 Commits

Author SHA1 Message Date
Thaddeus Crews
7e6c4681c6 Merge pull request #101427 from Lazy-Rabbit-2001/camera_2d_draggable
Improve usability of `Camera2D`
2025-03-12 10:31:51 -05:00
Thaddeus Crews
c8cd979552 Merge pull request #103966 from rburing/fti_2d_particles_oops
CPUParticles2D: Fix physics interpolation after entering tree with `emitting = false`
2025-03-12 10:31:47 -05:00
Thaddeus Crews
edbdca2074 Merge pull request #104018 from SaracenOne/fix_process_state_error
Fix missing `process_state` error in blend spaces.
2025-03-12 10:31:43 -05:00
Thaddeus Crews
8c32d5eee5 Merge pull request #103822 from ASamBlur/fix-graphnode-port-positions-for-expanded-children
Fix GraphNode port positions of children with size flag expand
2025-03-12 10:31:37 -05:00
SaracenOne
250e69856e Fixes missing process_state error in blend spaces. 2025-03-12 11:46:38 +00:00
Lazy-Rabbit-2001
5ca70d88a7 Improve usability of Camera2D 2025-03-12 09:57:31 +08:00
Thaddeus Crews
70d7a77a9a Merge pull request #98653 from Repiteo/scons/pretty-builders
SCons: Make builders prettier, utilize `constexpr`
2025-03-11 19:54:47 -05:00
Thaddeus Crews
754e3b3f9a Merge pull request #103825 from JulianHeuser/region_highlight_crash_fix
Fix crash related to #region/#endregion caused by trailing spaces
2025-03-11 19:54:46 -05:00
Thaddeus Crews
bf44930ec2 Merge pull request #81178 from KoBeWi/ok_bummer
Rework AcceptDialog's ok button text
2025-03-11 19:54:38 -05:00
Thaddeus Crews
30961fe462 Merge pull request #98414 from KoBeWi/one_small_step_for_animation
Add editor setting for default animation step
2025-03-11 19:54:35 -05:00
Thaddeus Crews
19882339f4 Merge pull request #99374 from FeniXb3/colorpicker-picker-shape-accessibility
Improve ColorPicker picker shape keyboard and joypad accessibility
2025-03-11 19:54:32 -05:00
Thaddeus Crews
be429eb404 SCons: Make builders prettier, utilize constexpr 2025-03-11 18:31:20 -05:00
kobewi
c2813b902c Add editor setting for default animation step 2025-03-11 23:16:27 +01:00
Thaddeus Crews
3bc2821e26 Merge pull request #102372 from Rindbee/display-the-actual-used-theme-items-in-the-Inspector
Display the actual used theme items in the Inspector
2025-03-11 16:53:55 -05:00
Thaddeus Crews
0822829359 Merge pull request #101439 from JekSun97/Provide-connection_map-to-GraphEdit
Add `get_connection_list_from_node` function to `GraphEdit`
2025-03-11 16:53:48 -05:00
kobewi
4ae87afaf6 Rework AcceptDialog's ok button text 2025-03-11 22:52:50 +01:00
Konrad Gadzina
e6f812c056 Modify color in ColorPicker with keyboard or joypad 2025-03-11 22:41:41 +01:00
Thaddeus Crews
e54a4408ad Merge pull request #102249 from Arnklit/particles2d-emission-shapes
Add emission shape gizmos to Particles2D
2025-03-11 14:01:00 -05:00
Thaddeus Crews
deb9705b77 Merge pull request #99662 from beicause/color-picker-wheels-in-okhsl
ColorPicker: Allow other color wheels in okhsl mode
2025-03-11 14:00:59 -05:00
Thaddeus Crews
20651f1162 Merge pull request #99680 from YeldhamDev/multi_remote_selection
Allow to select multiple remote nodes at runtime
2025-03-11 14:00:56 -05:00
Thaddeus Crews
41a3098fb5 Merge pull request #103793 from Rindbee/fix-memory-leak-caused-by-hidden-tooltip-controls
Fix memory leak caused by hidden tooltip controls
2025-03-11 14:00:40 -05:00
Michael Alexsander
5c66129e62 Allow to select multiple remote nodes at runtime 2025-03-11 12:35:41 -03:00
Thaddeus Crews
7d677fe761 Merge pull request #96372 from CreatedBySeb/fix-signal-copying
Fix copying a Node with a signal potentially resulting in an Editor crash
2025-03-11 09:35:01 -05:00
Thaddeus Crews
f1597b3023 Merge pull request #103758 from YeldhamDev/more_game_view_settings
Make Game view follow more editor settings
2025-03-11 09:34:58 -05:00
Ricardo Buring
5892ddbe24 CPUParticles2D: Fix fixed timestep interpolation after entering tree with emitting = false
This line was left over from earlier testing; the intended functionality
is now contained in _refresh_interpolation_state().
2025-03-11 12:12:32 +01:00
Julian
659d1b5d0c Fix crash caused by trailing spaces 2025-03-11 00:06:08 -04:00
Thaddeus Crews
78c9f8ddd9 Merge pull request #103906 from adamscott/revert-builtin-gui-license-notice
Revert "Add built-in GUI to display license notices"
2025-03-10 21:05:58 -05:00
Thaddeus Crews
c42fe6fb36 Merge pull request #95736 from nongvantinh/checkbox-states-colors
Allow changing the color for the Checkbox's checked and unchecked icons
2025-03-10 10:01:18 -05:00
Thaddeus Crews
9ef22c227a Merge pull request #96296 from aryan-11825114/fix-curve-edit-set-point-pos
Fix `changed` signal emission in `Curve::set_point_offset`
2025-03-10 10:01:16 -05:00
Adam Scott
1d325847f3 Revert "Add built-in GUI to display license notices"
This reverts commit daa6198925.
2025-03-10 10:33:12 -04:00
aryan-11825114
cd71f97209 fix changed signal emission in Curve::set_point_offset 2025-03-10 17:50:05 +05:30
A Thousand Ships
331a43a9d8 Add String::remove_char(s) methods for performance and convenience 2025-03-10 13:19:28 +01:00
Thaddeus Crews
cae3d722a3 Merge pull request #99321 from AThousandShips/use_get_slicec
Use `get_slicec` instead of `get_slice` for single character splitters
2025-03-09 09:05:29 -05:00
Thaddeus Crews
629b6767e6 Merge pull request #103778 from darksylinc/matias-xr-disabled-fix
Fix build errors when building with `disable_xr=yes`
2025-03-09 09:05:26 -05:00
A Thousand Ships
466590d0ec Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
ASamBlur
2d4c32b3ae Fix GraphNode port positions of children with size flag expand
- Changed slot_y_cache calculations in  _resort function so ports will be drawn correctly for expanded children.

- Similarly calculate the port_cache.pos in _port_pos_update function so the connection matches the port's position.
2025-03-08 19:29:29 +02:00
风青山
ac19f2ca68 Fix memory leak caused by hidden tooltip controls
Using hidden controls can override the default tooltip behavior, but these
controls are forgotten to be deleted.
2025-03-08 13:16:41 +08:00
Matias N. Goldberg
860f1da3b8 Fix build errors when building with disable_xr=yes
Building with the following params (note: scu_build is enabled):

```
platform=linuxbsd builtin_embree=yes builtin_enet=no
builtin_freetype=yes builtin_graphite=yes builtin_harfbuzz=yes
builtin_libogg=no builtin_libpng=yes builtin_libtheora=no
builtin_libvorbis=no builtin_libwebp=no builtin_miniupnpc=no
builtin_pcre2=no builtin_zlib=yes builtin_zstd=no linker=mold
optimize=none debug_symbols=True tests=True dev_mode=True dev_build=True
use_llvm=yes use_lld=yes opengl3=no openxr=no disable_xr=yes -j 24
scu_build=yes scu_limit=256
```

Results in compiler errors:

```
In file included from servers/register_server_types.cpp:99:
servers/xr/xr_interface.h:52:7: error: redefinition of 'RefCounted'
   52 | class XRInterface : public RefCounted {
      |       ^
./servers/rendering/rendering_method.h:40:21: note: expanded from macro
'XRInterface'
   40 | #define XRInterface RefCounted
      |                     ^
./core/object/ref_counted.h:37:7: note: previous definition is here
   37 | class RefCounted : public Object {
      |       ^
```

This happens because of:

```
#ifdef XR_DISABLED
// RendererSceneCull::render_camera is empty when 3D is disabled, but
// it and RenderingMethod::render_camera have a parameter for
XRInterface.
#define XRInterface RefCounted
#else
#include "servers/xr/xr_interface.h"
#endif // XR_DISABLED
```

In rendering_method.h
2025-03-07 21:13:09 -03:00
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
Thaddeus Crews
67d4a245d8 Merge pull request #103267 from YeldhamDev/reality_got_too_extended
Allow to compile the engine without XR support
2025-03-07 15:12:54 -06:00
Thaddeus Crews
3d9b37911d Merge pull request #103011 from Repiteo/style/svgo-newline
Style: Ensure svgs have trailing newlines
2025-03-07 15:12:41 -06:00
Thaddeus Crews
77022096ef Merge pull request #102451 from ryevdokimov/add-fail-cond-msg-reparent-self
Add `ERR_FAIL_COND_MSG` for reparenting to self
2025-03-07 15:12:35 -06:00
Thaddeus Crews
3c43508ed7 Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
Thaddeus Crews
0c6efe572e Merge pull request #79599 from Calinou/add-license-notices-gui
Add built-in GUI to display license notices
2025-03-07 15:12:29 -06:00
Thaddeus Crews
6b4fda04c9 Merge pull request #89442 from KoBeWi/internal_duplicaten't
Don't duplicate internal nodes
2025-03-07 12:06:36 -06:00
Thaddeus Crews
e0a040c0d3 Merge pull request #101319 from JulianHeuser/region_syntax_highlighting_fix
Improve consistency of code regions
2025-03-07 12:06:34 -06:00
Thaddeus Crews
5e48f26e7f Merge pull request #103580 from yangyey/bugfixing
Add space for BBCode Ordered Lists
2025-03-07 12:06:32 -06:00
kobewi
92ab92114e Don't duplicate internal nodes 2025-03-07 16:08:53 +01:00
A Thousand Ships
5113022dfe Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Michael Alexsander
b7f823c4c7 Make Game view follow more editor settings 2025-03-06 23:08:34 -03:00