Commit graph

4906 commits

Author SHA1 Message Date
StarryWorm
357fa00a4a rm class_db.h from resource.h 2026-02-27 19:08:29 -05:00
Thaddeus Crews
e42575d23f
Merge pull request #113956 from allenwp/colour/remove-LinearToSRGB-clamping
Remove clamping from LinearToSRGB visual shader node.
2026-02-27 08:49:33 -06:00
DDarby-Lewis
bf326793ba
Editor additions for MipMaps and rd_textures 2026-02-27 08:38:13 -06:00
Thaddeus Crews
f630133a01
Merge pull request #116826 from Repiteo/style/class-db-explicit-include
Style: Add `class_db.h` includes explicitly
2026-02-26 16:18:45 -06:00
Thaddeus Crews
4b70daceba
Merge pull request #116795 from bruvzg/ts_rs
Remove direct `RenderingServer` dependency from `TextServer`.
2026-02-26 16:18:37 -06:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Allen Pestaluky
dce001aee7 Remove clamping from LinearToSRGB visual shader node. 2026-02-26 11:49:26 -05:00
Pāvels Nadtočajevs
9036ab6a6a
Remove direct RenderingServer dependency from TextServer. 2026-02-26 10:25:59 +02:00
Rémi Verschelde
cb9b4cff90
Decouple MeshStorage from RenderingServer
By moving RS::SurfaceData and RS::MeshInfo to RenderingServerTypes.

This notably allows removing RS dependency from `mesh.h`.
2026-02-25 20:17:28 +01:00
Rémi Verschelde
f5a290ac46
Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Thaddeus Crews
a338853bf5
Merge pull request #116631 from Geometror/vs-fix-particle-builtins
[VisualShader] Fix `RESTART` and `ATTRACTOR_FORCE` builtins being available in Start function
2026-02-25 11:25:07 -06:00
Thaddeus Crews
badba19c10
Merge pull request #116719 from DeeJayLSP/wav-list-min
`AudioStreamWAV`: Check for `eof_reached` when reading LIST INFO tags
2026-02-25 09:27:42 -06:00
DeeJayLSP
fe57fbee8e AudioStreamWAV: Check for eof_reached when reading LIST INFO tags 2026-02-24 22:35:57 -03:00
Thaddeus Crews
15a4311583
Merge pull request #113479 from Meorge/feat/collapse-anim-groups
Collapse groups in animation track editor
2026-02-24 09:29:42 -06:00
Thaddeus Crews
b5ff3b5e3b
Merge pull request #116662 from KoBeWi/make_some_noise
Clean up `_validate_property()` implementations
2026-02-24 09:29:40 -06:00
Malcolm Anderson
5c4500a236 Allow animation groups to be collapsed by clicking disclosure chevron on left
Save group collapsed state during editing session

Save collapsed groups in Animation resource so they persist across sessions

Update editor/animation/animation_track_editor.h

Remove data duplication and unnecessary method

Prevent error about negative-sized Rect2

Move animation group folding to editor cfg files

Clean up length of some lines of code

Keep fold state of groups when renamed

Update scene/resources/animation.h

Make fold_area_rect calculation more accurate

Improve animation includes

Store animation fold state in scene folding file

Fix animation fold saving for independent resource animations

Apply suggestions from code review

Update scene/resources/animation.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2026-02-23 10:48:24 -08:00
kobewi
6f86914f55 Cleanup _validate_property() implementations 2026-02-23 15:05:25 +01:00
Hendrik Brucker
7553852b01 [VisualShader] Fix RESTART and ATTRACTOR_FORCE builtins being available in Start function 2026-02-22 20:58:46 +01:00
Aaron Franke
cf58747537
Add a function to merge multiple ImporterMeshes together 2026-02-21 12:06:47 -08:00
Lukas Tenbrink
d6540e4aa7 Add move semantics to RBMap and RBSet. Make copy constructors explicit. 2026-02-20 20:47:15 +01:00
Lukas Tenbrink
a6adb12240 Remove message_queue.h include from object.h. 2026-02-20 00:27:41 +01:00
Thaddeus Crews
6e5b661f32
Merge pull request #116331 from kleonc/curves_fix_per_per_point_props_stored_twice
Fix `Curve` point properties usage flags
2026-02-18 17:28:20 -06:00
Rémi Verschelde
ad4b910a10
Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
Lukas Tenbrink
0ea5ece984 Move binary math functions to Math namespace in math_funcs_binary header. 2026-02-17 12:24:35 +01:00
kleonc
8415c4f570 Fix Curve point properties usage flags 2026-02-15 19:58:56 +01:00
Thaddeus Crews
553315ced8
Merge pull request #92282 from KoBeWi/PropertyListHelper_never_stops
Add PropertyListHelper to Curves
2026-02-12 08:19:18 -06:00
Thaddeus Crews
2d5b30c476
Merge pull request #115963 from blueskythlikesclouds/reduce-includes-to-rd
Reduce includes to rendering device.
2026-02-12 08:19:16 -06:00
kobewi
e6ee72828f Add PropertyListHelper to Curves 2026-02-11 20:25:27 +01:00
Thaddeus Crews
c53965f13e
Merge pull request #116046 from chocola-mint/fix-#116002
Account for the current section when processing AnimationTracks
2026-02-11 10:27:04 -06:00
Thaddeus Crews
ba5a0758e9
Revert "Change curve range for particle multipliers"
This reverts commit c6021f1e5b.
2026-02-10 09:58:58 -06:00
Thaddeus Crews
c2b5ff3369
Merge pull request #115394 from dugramen/conic-gradient
Add conic gradient to GradientTexture2D
2026-02-10 08:29:40 -06:00
Skyth
8fbf2f1e14 Reduce includes to rendering device.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2026-02-10 16:58:50 +03:00
chocola-mint
0852de7098 Account for the current section when processing AnimationTracks 2026-02-08 22:08:33 +09:00
Thaddeus Crews
7dae5da198
Style: Convert *.gen.inc to *.gen.h 2026-02-05 19:47:56 -06:00
Lukas Tenbrink
c5df0cb82b Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
Rémi Verschelde
63c78e684b
Merge pull request #114165 from KoBeWi/static
Use actual class names in resource type hints
2026-02-02 10:10:24 +01:00
Thaddeus Crews
e36d624a30
Merge pull request #115607 from Ivorforce/sunless-sky
Remove `sky.h` include from `environment.h`, to speed up compile time.
2026-01-30 09:32:14 -06:00
Thaddeus Crews
fbbb8a921b
Merge pull request #115309 from Ivorforce/localvector-explicit-copy
Change copy constructor of `LocalVector` from implicit to explicit
2026-01-30 09:32:07 -06:00
Thaddeus Crews
fd6e80d4e9
Merge pull request #105701 from ColinSORourke/DrawableTexture
Implement DrawableTextures
2026-01-30 09:32:05 -06:00
Lukas Tenbrink
1d840aae3a Remove sky.h include from environment.h, to speed up compile time. 2026-01-30 00:05:55 +01:00
kobewi
f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Lukas Tenbrink
72b281d41e Remove a few includes of curve.h, texture.h and resource_loader.h + resource_saver.h. 2026-01-29 15:59:29 +01:00
Colin O'Rourke
63f6e3691c DrawableTextures
Implementing DrawableTextures based on: https://github.com/godotengine/godot-proposals/issues/7379
2026-01-29 01:16:06 -08:00
dugramen
0f18d058af Add conic gradient to GradientTexture2D 2026-01-28 14:38:53 -05:00
Thaddeus Crews
07a2c75ec4
Merge pull request #115326 from Chaosus/vs_spatial_all_in_shadow_pass
[VisualShader] Add `in_shadow_pass` spatial input
2026-01-27 09:04:23 -06:00
Thaddeus Crews
7f31ae1564
Merge pull request #115325 from Chaosus/vs_spatial_light_specular_amount
[VisualShader] Add `specular_amount` spatial light input
2026-01-27 09:04:22 -06:00
Thaddeus Crews
861d7f5263
Merge pull request #115021 from dfdfg42/fix-immediate-mesh-vertex-2d-reset
Reset `vertex_2d` flag when starting a new surface in ImmediateMesh
2026-01-26 13:14:25 -06:00
Thaddeus Crews
0f8a1c9db2
Merge pull request #115147 from BastiaanOlij/fix_multiview_fixed_size
Apply fixed size properly for mono/stereo rendering.
2026-01-26 13:14:23 -06:00
Chaosus
f91f2861cf [VisualShader] Add in_shadow_pass spatial input 2026-01-24 12:38:36 +03:00
Chaosus
4f0a0367fd [VisualShader] Add specular_amount spatial light input 2026-01-24 12:35:33 +03:00