1
0
Fork 0
Commit Graph

187 Commits

Author SHA1 Message Date
Thaddeus Crews 9b96eaaf80
Merge pull request #107989 from Jojo-1000/docs-add-required-qualifier
Documentation: Add missing required qualifier for various classes
2025-09-19 09:17:06 -05:00
Yufeng Ying 5d66b0b41a Replace unneeded Vector. 2025-09-16 15:04:13 +08:00
Aaron Franke ba92af7d07
ImporterMesh: Validate triangle indices array size is a multiple of 3 2025-08-18 06:36:21 -07:00
shadowcow13 c6c4c55146 Fix name included in animation when saved from slice in scene importer 2025-08-13 16:53:43 -06:00
Mounir Tohami 706601778e Prevent generating editor 3D scene preview in headless mode. 2025-07-31 11:44:07 +03:00
Jojo-1000 ab178719d9 Mark methods for various classes as required 2025-07-30 19:24:56 +02:00
Kody Van Ry 2554434cd9 Fix allow any descendant to be used as a Root Type in Scene Import 2025-07-20 15:27:05 -06:00
A Thousand Ships f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Pāvels Nadtočajevs a272376f89
Cleanup accessibility names. 2025-06-23 11:08:36 +03:00
Rémi Verschelde 45533589e4
Revert "Rework scene preview thumbnails"
This reverts commit 08343189dc.

While the feature is great, a number of issues have been found with the
implementation, and we need more time to resolve them.

So we roll this back for 4.5, to rework the feature for a later Godot
release.
2025-06-21 00:05:57 +02:00
Lukas Tenbrink e2931a5c19 Make conversions from `NodePath` to `String` explicit. 2025-06-11 16:50:27 +02:00
Aaron Franke a3daba29dd
Allow attaching scripts to nodes in the Advanced Import Settings dialog 2025-06-10 09:35:24 -07:00
Rémi Verschelde b8485366c2
Merge pull request #107211 from bruvzg/mat_ext_and_over
Restore 3.x style material auto-extraction import option.
2025-06-10 12:30:26 +02:00
Rémi Verschelde a3d297ae92
Merge pull request #98014 from SaracenOne/import_subresource_overwrite_fix
Fix resetting imported scene parameters to default.
2025-06-10 12:29:26 +02:00
Pāvels Nadtočajevs a0c4a8c4a9
Restore 3.x style material auto-extraction import option. 2025-06-10 12:03:45 +03:00
Danil Alexeev 24494d840e
Core: Unify display of error type prefixes 2025-06-09 20:18:51 +03:00
Pāvels Nadtočajevs 22b5a2fc5c
Change editor button focus mode to `FOCUS_ACCESSIBILITY`. 2025-06-08 15:53:27 +03:00
daniel080400 08343189dc Rework scene preview thumbnails 2025-05-31 16:57:51 +08:00
Thaddeus Crews 4daad86a86
Merge pull request #106562 from zeux/lod-metrics
Adjust LOD selection metrics to use attribute error
2025-05-22 12:15:03 -05:00
Thaddeus Crews f1ba8eeae5
Merge pull request #105706 from TokageItLab/fix-fixer
Make silhouette fixer to use arc `Quaternion` constructor instead of `looking_at()`
2025-05-19 08:01:38 -05:00
Arseny Kapoulkine 6190d412d3 Adjust LOD selection metrics to use attribute error
- Revert meshoptimizer patch; the metric used for LOD selection now
incorporates attribute error
- Since LOD selection is now aware of attribute deviation, we don't
need to use a higher normal weight
- To prevent normal creases from creating input triangles with very
large normal deviation, reduce default normal merge threshold
- Since we now use combined metric to select LODs, we never need LODs
with error>1 as these should not be selected if the mesh is visible.
2025-05-18 17:38:54 +03:00
Raphaël Daubelcour 9511e1137d Check if import_script is subtype of EditorScenePostImport 2025-05-14 12:07:17 -04:00
Silc Lizard (Tokage) Renew d2cf48700e Make silhouette fixer use arc Quaternion constrructor instead look_at 2025-04-28 17:13:17 +09:00
Thaddeus Crews f8a8d6cf04
Merge pull request #105700 from dementive/config-file-get-improvement
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-27 19:21:31 -05:00
Thaddeus Crews 3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
dementive b8e44a0000 Improve ConfigFile get_sections and get_section_keys by returning Vector<String> 2025-04-24 20:10:31 -04:00
Thaddeus Crews 5dc375b2fc
Merge pull request #105014 from aaronfranke/no-type-suffixes
Allow completely opting out of name suffix magic in 3D scene import
2025-04-24 17:18:50 -05: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
Thaddeus Crews 87f986ae67
Merge pull request #97837 from basicer/fix-update-timer
SceneImportSettings update_timer should be a oneshot.
2025-04-15 12:28:39 -05:00
Thaddeus Crews d236bd8633
Merge pull request #99543 from KoBeWi/using_rng_to_destroy_rng
Add `create_id_for_path()` to ResourceUID
2025-04-11 09:51:12 -05:00
kobewi ff1f040893 Add create_id_for_path() to ResourceUID 2025-04-11 00:53:34 +02:00
Thaddeus Crews 94282d88f9
Core: Use `Math` namespace for constants 2025-04-10 16:29:30 -05:00
A Thousand Ships 889410dcda
Add `String::replace_char(s)` methods for performance and convenience 2025-04-10 13:08:45 +02:00
Aaron Franke e96828673f
Allow completely opting out of name suffix magic in 3D scene import 2025-04-10 01:11:54 -07:00
Thaddeus Crews f7b72704db
Merge pull request #104804 from etherealxx/fix-advanced-import-inspector-missing-tooltip
Fix missing tooltips on "Advanced Import Settings for Scene" window
2025-04-09 18:12:00 -05:00
Thaddeus Crews 7a6c3b309f
Merge pull request #105130 from bruvzg/uri_fix_plus
Add uri_file_decode to handle + in file names.
2025-04-09 18:11:56 -05:00
Pāvels Nadtočajevs 302fa831cc
Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Pāvels Nadtočajevs 9abe2e5294
Add `uri_file_decode` to handle `+` in file names. 2025-04-07 23:49:17 +03:00
Yufeng Ying 8ae16699c5 Do not use Dictionary::keys() for Dictionary iteration. 2025-04-05 18:42:13 +08: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
Etherealxx 7e00ea510e Fix missing tooltips on "Advanced Import Settings for Scene" window
In Godot, it's possible to customize how the engine imports 3D resource,
by either clicking "Advanced..." button on Import Dock or double
clicking the resource on FileSystem Dock. Doing so will open the
Advanced Import Settings window, where user could inspect the 3D resource
in a viewport, with the scene tree on the left and an inspector panel
akin to the Import dock on the left. It contains the same settings from
the Import dock, with some advanced additions.

This commit fixes a regression since 4.2 where settings in the inspector
panel on the right part of the window does not contain the same tooltips
as its Import Dock counterpart (which were retrieved from the XML class
reference).
2025-04-01 10:29:40 +07:00
Yyf2333 22b5ec17fb Using iterator pattern instead of List::Element *.
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
2025-03-28 13:29:15 +08:00
Lyuma 8997c999e9
Scene import: extract UID paths and store fallback
When extracting meshes, materials and animations, always store the uid:// path as well as a res:// fallback.
When validating import settings, load the fallback path if the uid:// path fails to load.
Update save_to_file/fallback_path every import to keep the file path in sync with the uid.
Use UID hashing for meshes and animations.
2025-03-19 11:50:39 +01:00
Thaddeus Crews 1f6426066e
Merge pull request #98768 from Repiteo/core/constexpr-math-operators
Core: Add `constexpr` constructors/operators to math structs
2025-03-17 16:03:20 -05:00
kobewi 6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
Thaddeus Crews ea62170dac
Core: Add `constexpr` constructors/operators to math structs
• Begin integrating `constexpr` on math tests; use `static_assert` where appropriate
2025-03-17 12:15:31 -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
Thaddeus Crews 324512e11c
Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06: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