Lukas Tenbrink
2659124e66
Change StringName -> String conversion from operator String() to string().
2026-06-22 15:46:16 +02:00
Jordyfel
eedca776ce
Fix build with 3D navigation disabled
2026-03-26 22:15:45 +02:00
Rémi Verschelde
e015e8bde4
Remove unused includes in core with clangd-tidy
2026-03-11 06:41:36 +01:00
Rémi Verschelde
2dd1f4ef60
Decouple node.h from scene_tree.h, minimize its other includes
2026-03-05 13:54:46 +01:00
Thaddeus Crews
98e6b3c460
Merge pull request #116956 from KoBeWi/missingmesh
...
Add configuration warning for missing Mesh
2026-03-04 14:32:31 -06:00
Rémi Verschelde
eabb9a63d4
Rename callable_method_pointer.h to callable_mp.h and include it explicitly
...
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.
Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
kobewi
75f0e931e2
Add configuration warning for missing Mesh
2026-03-02 14:00:26 +01:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly
2026-02-26 15:50:28 -06: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
kobewi
f7b9703cbd
Use actual class names in resource type hints
2026-01-29 21:07:56 +01:00
kobewi
251746a89c
Add MeshInstance3D upgrade code
2025-11-13 13:43:17 +01:00
kobewi
d27fb9b15a
Remove default skeleton path in MeshInstance3D
2025-11-01 01:59:58 +01:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
Thaddeus Crews
149a4b4ca1
Merge pull request #107868 from lawnjelly/quick_ancestry4
...
Provide quick access to `Object` ancestry
2025-09-20 13:41:39 -05:00
风青山
2f5af689fd
Fix the absolute NodePath was calculated incorrectly when "Reparent to New Node"
...
Since the new parent node has not yet been added to the tree, the
`new_base_path` needs to be calculated using the `base_path`.
2025-07-18 10:26:50 +08:00
lawnjelly
14a814586a
Provide quick access to Object ancestry
2025-06-23 07:11:11 +01:00
smix8
4bbafc8d0e
Fix MeshInstance3D::get_active_material() error on empty mesh or empty surfaces
...
FixesMeshInstance3D::get_active_material() error on empty mesh or empty surfaces.
2025-06-19 02:55:54 +02:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
Michael Alexsander
556933306a
Allow to compile templates without navigation features
2025-04-01 11:53:35 -03:00
Michael Alexsander
5ad414d046
Allow to compile templates without physics servers
2025-03-28 11:00:44 -03:00
smix8
0ed2cb0439
Make nodes handle their respective navigation source geometry
...
Makes nodes handle their respective navigation source geometry.
2025-01-12 13:14:46 +01:00
Hilderin
055b418e4d
Fix Selection Game View
2025-01-10 09:53:17 -05:00
A Thousand Ships
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
ze2j
97e0b43faa
Add ArrayMesh::surface_remove
2024-11-27 13:46:15 +01:00
K. S. Ernest (iFire) Lee
b0e04c1e7a
Sort blend shapes in the inspector by ID instead of alphabetically
...
Blend shapes (morph targets, shape keys) should be sorted by the physical order of the blend shapes, and that index should be converted to a name string.
2024-11-14 05:54:32 -08:00
Silc Lizard (Tokage) Renew
d29e7b6953
Fix initial skin update timing in Skeleton3D
2024-10-16 05:13:13 +09:00
Rémi Verschelde
ab1f55e738
Merge pull request #97489 from TokageItLab/deferred-skin-registration
...
Move skin registration process into deferred on ready
2024-09-27 13:53:38 +02:00
Silc Lizard (Tokage) Renew
2eb069f40b
Move skin registration process into deferred on ready
2024-09-26 22:36:58 +09:00
smix8
a99a1699aa
Add option to bake a mesh from animated skeleton pose
...
Adds option to bake a mesh from animated skeleton pose.
2024-09-03 22:16:05 +02:00
A Thousand Ships
194bdde947
Cleanup of raw nullptr checks with Ref
...
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
smix8
5d6e8d7dff
Add option to bake a mesh from blend shape mix
...
Adds option to bake a mesh from blend shape mix.
2024-04-10 23:35:28 +02:00
Lyuma
2854d0a7ca
Expose MeshInstance3D.get_skin_reference and add docs
2024-04-10 14:12:25 +02:00
smix8
35dafc9fa8
Split monolithic physics class files
...
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
smix8
2dfa023135
Show revert button for MeshInstance3D blendshape values
...
Shows revert button for MeshInstance3D blendshape values.
2024-02-13 00:43:05 +01:00
kobewi
4296f0a771
Fill remaining global scope constant descriptions
2023-11-13 15:17:10 +01:00
Hugo Locurcio
fcbf7011cc
Make 3D editor gizmos and debug shapes ignore fog
...
This makes them easier to see in their intended colors in scenes with fog.
2023-09-27 00:54:57 +02:00
kobewi
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +02:00
Ninni Pipping
dcd2b883eb
Use NULL instead of COND checks when appropriate
...
Restricted to scene
2023-06-10 08:56:30 +02:00
smix8
1549aeaef8
Add Mesh ConvexDecompositionSettings wrapper
...
Adds wrapper MeshConvexDecompositionSettings to control parameters for Mesh ConvexDecomposition operations.
2023-04-07 22:39:25 +02:00
Johan Aires Rastén
007b488a5c
Fixed incorrect ERROR message when setting new PrimitiveMesh
...
If calling set_mesh with a PrimitiveMesh that has pending update, the
_mesh_changed function would be called twice. The first time before
set_base had been called, which could lead to an ERROR message about
trying to set an invalid surface override material.
2023-03-04 10:48:47 +01:00
Rémi Verschelde
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
clayjohn
1cc232ea4e
Remove compatibility code for MeshInstance3D surface override material
2022-12-22 20:25:17 -07:00
clayjohn
1a890b1641
Switch surface indexing to start at 0 so string name matches integer index
2022-12-16 16:26:46 -08:00
Rémi Verschelde
db0b990e2c
Merge pull request #69527 from clayjohn/surface-name
...
Index override surface name starting from 1 to match surface name
2022-12-14 00:20:13 +01:00
clayjohn
29dea68bab
Index override surface name starting from 1 to match surface name
2022-12-07 11:56:39 -08:00
bruvzg
08d7c24ebe
[TextMesh] Fix autotranslate.
2022-12-04 23:04:48 +02:00
Aaron Franke
93ab82536d
Use a more specific type for Mesh create_(convex|trimesh)_shape
2022-11-25 11:43:11 -06:00
bruvzg
0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
2022-10-07 11:32:33 +03:00